[easytag/wip/musicbrainz-support-merge: 15/29] FIXME (split) Fixed memory leak in free_mb_tree_node



commit eb38149925fb936d4a2e536125122cbb95c29f0f
Author: Abhinav <abhijangda hotmail com>
Date:   Wed Aug 13 19:59:22 2014 +0530

    FIXME (split) Fixed memory leak in free_mb_tree_node
    
    Added g_slice_free statements, don't know how it got deleted

 src/mb_search.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mb_search.c b/src/mb_search.c
index 5b5f962..1deb6a0 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]