From 8634fec6ffb12b924dd8b024504489968f879e40 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Mon, 13 Feb 2012 22:42:08 +0000 Subject: [PATCH] * Fix potential double-free in one error condition. --- upnpsoap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/upnpsoap.c b/upnpsoap.c index ae90d2d..958aea3 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -1498,7 +1498,6 @@ SearchContentDirectory(struct upnphttp * h, const char * action) /* If it's a DLNA client, return an error for bad sort criteria */ if( (args.flags & FLAG_DLNA) && ret < 0 ) { - free(orderBy); SoapError(h, 709, "Unsupported or invalid sort criteria"); goto search_error; }