From: Fredrik Tolf Date: Fri, 17 Oct 2008 23:49:54 +0000 (+0200) Subject: Fixed double-free bug in filtercmd handler. X-Git-Tag: 1.3~8 X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=b984902c37729827db65bc4271a6cd07ff7c0546 Fixed double-free bug in filtercmd handler. --- diff --git a/daemon/ui.c b/daemon/ui.c index 3f65ea1..0f6e701 100644 --- a/daemon/ui.c +++ b/daemon/ui.c @@ -1216,7 +1216,6 @@ static void cmd_filtercmd(struct socket *sk, struct uidata *data, int argc, wcha for(pp = cargv; *pp; pp++) free(*pp); free(cargv); - free(filtercmd); data->fcmdsk = wrapsock(pipe); data->fcmdpid = pid; if(data->fcmdbuf != NULL)