1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-29 04:25:55 -04:00

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
This commit is contained in:
Michael Smith 2006-03-08 11:14:56 +00:00
parent 14e0cfcdac
commit 091892c8c6

View File

@ -812,6 +812,8 @@ static void add_yp_info (ypdata_t *yp, void *info, int type)
free (yp->subtype);
yp->subtype = escaped;
break;
default:
free (escaped);
}
}