Fixed double-free bug in filtercmd handler.
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 17 Oct 2008 23:49:54 +0000 (01:49 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 17 Oct 2008 23:49:54 +0000 (01:49 +0200)
daemon/ui.c

index 3f65ea1..0f6e701 100644 (file)
@@ -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)