Commit 9fd0b297 authored by Karl Heyes's avatar Karl Heyes

I should fix the leak properly :)

svn path=/icecast/trunk/icecast/; revision=8349
parent d124e7ca
......@@ -747,7 +747,7 @@ static void yp_destroy_ypdata(ypdata_t *ypdata)
if (ypdata->audio_info) {
free(ypdata->audio_info);
}
if (ypdata->audio_info) {
if (ypdata->cluster_password) {
free(ypdata->cluster_password);
}
free (ypdata->error_msg);
......
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