[easytag/easytag-2-2] Fix a memory leak when saving an Ogg file
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/easytag-2-2] Fix a memory leak when saving an Ogg file
- Date: Sun, 14 Dec 2014 16:27:46 +0000 (UTC)
commit a1dfbbd324751ce87e24e574ff48e45c34adcfa2
Author: David King <amigadave amigadave com>
Date: Sun Dec 14 13:54:24 2014 +0000
Fix a memory leak when saving an Ogg file
src/ogg_tag.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ogg_tag.c b/src/ogg_tag.c
index dcf85aa..365d99b 100644
--- a/src/ogg_tag.c
+++ b/src/ogg_tag.c
@@ -1066,6 +1066,8 @@ ogg_tag_write_file_tag (ET_File *ETFile, GError **error)
vcedit_clear(state);
}
+ g_object_unref (file);
+
g_assert (error == NULL || *error == NULL);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]