]> git.meshlink.io Git - catta/commitdiff
main: fix minor memory leak
authorLennart Poettering <lennart@poettering.net>
Mon, 28 Jun 2010 23:09:58 +0000 (01:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 28 Jun 2010 23:09:58 +0000 (01:09 +0200)
avahi-daemon/main.c

index d1a3b3e773d8efad276d164f457e2b3bd2ef16e1..6dd2dcd3062bbc84a2b9ca9e8ad77a9419320e12 100644 (file)
@@ -332,6 +332,7 @@ static void update_browse_domains(void) {
     l = filter_duplicate_domains(l);
 
     avahi_server_set_browse_domains(avahi_server, l);
+    avahi_string_list_free(l);
 }
 
 static void server_callback(AvahiServer *s, AvahiServerState state, void *userdata) {