[easytag] Fix three memory leaks when saving settings
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Fix three memory leaks when saving settings
- Date: Sun, 19 May 2013 15:43:54 +0000 (UTC)
commit 73db9b439b3216809cf12427316c94fcb6c907dd
Author: David King <amigadave amigadave com>
Date: Sun May 19 15:47:50 2013 +0100
Fix three memory leaks when saving settings
src/setting.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/setting.c b/src/setting.c
index 7afc307..7a071a9 100644
--- a/src/setting.c
+++ b/src/setting.c
@@ -942,6 +942,7 @@ Save_Config_To_File (void)
file_path);
fclose (file);
g_free (file_path);
+ g_free (data);
return;
}
g_free(data);
@@ -958,6 +959,7 @@ Save_Config_To_File (void)
file_path);
fclose (file);
g_free (file_path);
+ g_free (data);
return;
}
g_free(data);
@@ -977,6 +979,7 @@ Save_Config_To_File (void)
file_path);
fclose (file);
g_free (file_path);
+ g_free (data);
return;
}
g_free(data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]