From: Fredrik Tolf Date: Sat, 1 Mar 2008 03:53:06 +0000 (+0100) Subject: Fixed double free bug in libdcui. X-Git-Tag: 1.2~8 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=f3287001f53dcfbbfb26251e6f0285ac07901bc3 Fixed double free bug in libdcui. --- diff --git a/lib/uilib.c b/lib/uilib.c index 48b3eed..1290dd9 100644 --- a/lib/uilib.c +++ b/lib/uilib.c @@ -490,6 +490,7 @@ int dc_queuecmd(int (*callback)(struct dc_response *), void *data, ...) return(-1); } } else if(!wcscmp(tpart, L"ls")) { + freepart = 0; part = va_arg(al, wchar_t *); } else if(!wcscmp(tpart, L"ll")) { freepart = 1;