Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforce.net>2012-02-14 02:42:08 +0400
committerJustin Maggard <jmaggard@users.sourceforce.net>2012-02-14 02:42:08 +0400
commit32d5baa092ff6ef64d85cb9097e345de052f8036 (patch)
tree6e4f6c3252c01870c02bb42dcd81d66375cf7443
parent0051e0b53cdc98124b5e463f82305ba6aba04ecf (diff)
* Fix potential double-free in one error condition.
-rw-r--r--upnpsoap.c1
1 files changed, 0 insertions, 1 deletions
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;
}