From 9fd0b2974fc5cc9bd3c02d9a5ab5220a44e061fa Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Wed, 8 Dec 2004 02:36:03 +0000 Subject: [PATCH] I should fix the leak properly :) svn path=/icecast/trunk/icecast/; revision=8349 --- src/yp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yp.c b/src/yp.c index 489e3ce1..4b52323b 100644 --- a/src/yp.c +++ b/src/yp.c @@ -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);