From: Lennart Poettering Date: Tue, 11 Oct 2005 01:15:39 +0000 (+0000) Subject: ### BACKPORT ### X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=14fe3eac316cd3b05458ad9cde3bd3cd2e93fa3e;p=catta ### BACKPORT ### fix uninitialized memory access git-svn-id: file:///home/lennart/svn/public/avahi/trunk@718 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/examples/core-browse-services.c b/examples/core-browse-services.c index c2eb180..d2a5e98 100644 --- a/examples/core-browse-services.c +++ b/examples/core-browse-services.c @@ -155,7 +155,7 @@ static void browse_callback( int main(int argc, char*argv[]) { AvahiServerConfig config; - AvahiSServiceBrowser *sb; + AvahiSServiceBrowser *sb = NULL; int error; int ret = 1;