dns: fix error cleanup in kill_existing()

Fixes: 3e66813db2
This commit is contained in:
Beniamino Galvani 2016-03-24 10:21:53 +01:00
parent 2c11e23c34
commit 3b3a4e1c8b

View file

@ -109,7 +109,7 @@ kill_existing (const char *progname, const char *pidfile, const char *kill_match
gs_free char *cmdline_contents = NULL;
guint64 start_time;
char proc_path[256];
gs_free GError *error = NULL;
gs_free_error GError *error = NULL;
if (!pidfile)
return;