]> arthur.barton.de Git - netatalk.git/commitdiff
Add a missing conditional compilation ifdef
authorRalph Boehme <sloowfranklin@gmail.com>
Thu, 6 Dec 2012 09:42:47 +0000 (10:42 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Thu, 6 Dec 2012 09:42:47 +0000 (10:42 +0100)
libatalk/dsi/dsi_tcp.c

index 2dc5e15ddbafd72888f73d13f29db347d0ad88e1..fd9de4a0286e5c180b41080aa1be7cbd549ff300 100644 (file)
@@ -117,8 +117,10 @@ void dsi_free(DSI *dsi)
     free(dsi->buffer);
     dsi->buffer = NULL;
 
+#ifdef USE_ZEROCONF
     free(dsi->bonjourname);
     dsi->bonjourname = NULL;
+#endif
 }
 
 static struct itimerval itimer;