[easytag] Fix a memory leak when saving an Ogg file
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Fix a memory leak when saving an Ogg file
- Date: Sun, 14 Dec 2014 16:27:54 +0000 (UTC)
commit 5167916b5ba9bfd4f7b01bc8ae0372aa6af5a344
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/tags/ogg_tag.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tags/ogg_tag.c b/src/tags/ogg_tag.c
index 29e7fbe..dcb282c 100644
--- a/src/tags/ogg_tag.c
+++ b/src/tags/ogg_tag.c
@@ -1064,6 +1064,8 @@ ogg_tag_write_file_tag (const ET_File *ETFile,
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]