[easytag/easytag-2-2] Fix GIOStream leak when checking for buggy id3lib
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/easytag-2-2] Fix GIOStream leak when checking for buggy id3lib
- Date: Fri, 24 Oct 2014 23:00:25 +0000 (UTC)
commit 24131bbd41b7a21ca6af18b3f1e062c38ebb4af7
Author: David King <amigadave amigadave com>
Date: Fri Oct 24 23:59:25 2014 +0100
Fix GIOStream leak when checking for buggy id3lib
src/id3_tag.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/id3_tag.c b/src/id3_tag.c
index 5134228..6984de9 100644
--- a/src/id3_tag.c
+++ b/src/id3_tag.c
@@ -1388,13 +1388,13 @@ gboolean Id3tag_Check_If_Id3lib_Is_Bugged (void)
g_free (filename_utf8);
g_clear_error (&error);
g_object_unref (file);
- g_output_stream_close (G_OUTPUT_STREAM (ostream), NULL, NULL);
+ g_object_unref (iostream);
return FALSE;
}
g_output_stream_close (G_OUTPUT_STREAM (ostream), NULL, NULL);
- g_object_unref (ostream);
+ g_object_unref (iostream);
// Save state of switches as we must force to Unicode before writting
use_unicode = FILE_WRITING_ID3V2_USE_UNICODE_CHARACTER_SET;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]