Commit 091892c8 authored by Michael Smith's avatar Michael Smith
Browse files

Forgot to commit this one yesterday: add a default case to prevent memory leaks

in any potential caller calling this with the wrong args.

svn path=/icecast/trunk/icecast/; revision=10989
parent 14e0cfcd
......@@ -812,6 +812,8 @@ static void add_yp_info (ypdata_t *yp, void *info, int type)
free (yp->subtype);
yp->subtype = escaped;
free (escaped);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment