diff options
author | 2012-02-08 01:40:57 -0500 | |
---|---|---|
committer | 2012-02-08 01:40:57 -0500 | |
commit | c3516b35670967090b6851f77e5f90648607a900 (patch) | |
tree | d4373c75c645522eeebf551d429b2c0fb8029a74 /src | |
parent | Update .gitignore (diff) | |
download | openrc-settingsd-c3516b35670967090b6851f77e5f90648607a900.tar.gz openrc-settingsd-c3516b35670967090b6851f77e5f90648607a900.tar.bz2 openrc-settingsd-c3516b35670967090b6851f77e5f90648607a900.zip |
hostname is dynamically allocated now
Diffstat (limited to 'src')
-rw-r--r-- | src/hostnamed.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/hostnamed.c b/src/hostnamed.c index df522c5..f0992bd 100644 --- a/src/hostnamed.c +++ b/src/hostnamed.c @@ -469,7 +469,6 @@ hostnamed_destroy (void) g_bus_unown_name (bus_id); bus_id = 0; read_only = FALSE; - memset (hostname, 0, HOST_NAME_MAX + 1); g_free (hostname); g_free (static_hostname); g_free (pretty_hostname); |