[easytag/wip/musicbrainz-support-merge: 2/3] Fixed memory leak in free_mb_tree_node
- From: Abhinav Jangda <abhijangda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/musicbrainz-support-merge: 2/3] Fixed memory leak in free_mb_tree_node
- Date: Thu, 14 Aug 2014 15:44:54 +0000 (UTC)
commit 7c31e948e8829587a7d3b2eef61e5f7b5aebb2e6
Author: Abhinav <abhijangda hotmail com>
Date: Wed Aug 13 19:59:22 2014 +0530
Fixed memory leak in free_mb_tree_node
src/mb_search.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mb_search.c b/src/mb_search.c
index 5bf68b7..d457363 100755
--- a/src/mb_search.c
+++ b/src/mb_search.c
@@ -1317,7 +1317,7 @@ free_mb_tree (GNode **_node)
mb5_recording_delete ((Mb5Recording)et_entity->entity);
}
-
+ g_slice_free (EtMbEntity, et_entity);
}
g_node_unlink (node);
@@ -1334,4 +1334,4 @@ free_mb_tree (GNode **_node)
g_node_destroy (node);
*_node = NULL;
}
-#endif /* ENABLE_libmusicbrainz */
+#endif /* ENABLE_libmusicbrainz */
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]