X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fui.c;h=fdedc506fccd33eebc47f3757b4c0f807fde8b4c;hb=c662029bed19d3b706cee02ac093758e4cc99649;hp=ba9977571a1cca9515799d2f718e8c7ff96e7271;hpb=040118de4a1c2c5d81f4748461b8919b11c2eaac;p=doldaconnect.git diff --git a/daemon/ui.c b/daemon/ui.c index ba99775..fdedc50 100644 --- a/daemon/ui.c +++ b/daemon/ui.c @@ -34,6 +34,7 @@ #include #include #include +#include #ifdef HAVE_CONFIG_H #include @@ -1213,6 +1214,7 @@ 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)