summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-05 13:21:57 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-05 13:21:57 +0100
commit59ea0fca10873d36cb614ab2b6601a353b12bd72 (patch)
tree93965373099736056dd3a90bcdac060e25491959
parent2a29f3439cafe9cafb0aa706466f99230d5d07d3 (diff)
downloadpacredir-59ea0fca10873d36cb614ab2b6601a353b12bd72.tar.gz
pacredir-59ea0fca10873d36cb614ab2b6601a353b12bd72.tar.zst
fix memory corruption
-rw-r--r--pacredir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacredir.c b/pacredir.c
index 5c4b9d4..f51a47a 100644
--- a/pacredir.c
+++ b/pacredir.c
@@ -567,7 +567,7 @@ fail:
avahi_service_browser_free(pacdbserve);
if (pacserve)
- avahi_service_browser_free(pacdbserve);
+ avahi_service_browser_free(pacserve);
if (client)
avahi_client_free(client);