[totem-pl-parser] plparse: Fix a minor memory leak in totem_pl_parser_add_itms()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser] plparse: Fix a minor memory leak in totem_pl_parser_add_itms()
- Date: Fri, 5 Jun 2015 06:59:37 +0000 (UTC)
commit 93b0e420dcd048e33218eaf257d26101432c6747
Author: Philip Withnall <philip withnall collabora co uk>
Date: Fri Jun 5 07:59:15 2015 +0100
plparse: Fix a minor memory leak in totem_pl_parser_add_itms()
plparse/totem-pl-parser-podcast.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plparse/totem-pl-parser-podcast.c b/plparse/totem-pl-parser-podcast.c
index 5452396..a949a20 100644
--- a/plparse/totem-pl-parser-podcast.c
+++ b/plparse/totem-pl-parser-podcast.c
@@ -770,6 +770,8 @@ totem_pl_parser_add_itms (TotemPlParser *parser,
/* Load the file using iTunes user-agent */
content = totem_pl_parser_load_http_itunes (itms_uri, totem_pl_parser_is_debugging_enabled (parser));
+ g_free (itms_uri);
+
if (!content)
return TOTEM_PL_PARSER_RESULT_ERROR;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]