[monkey-bubble: 726/753] g_free/g_strdup handles NULL just fine according to
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 726/753] g_free/g_strdup handles NULL just fine according to
- Date: Wed, 14 Jul 2010 22:56:44 +0000 (UTC)
commit f5d1dad2695b8686294c1dadc6b9947c04fb00d3
Author: Kjartan Maraas <kmaraas gnome org>
Date: Tue Nov 7 17:08:52 2006 +0000
g_free/g_strdup handles NULL just fine according to
2006-11-07 Kjartan Maraas <kmaraas gnome org>
* libgnome/gnome-config.c: (access_config_extended):
* libgnome/gnome-program.c: (gnome_program_preinit):
* libgnome/gnome-score.c: (gnome_score_child):
* libgnome/gnome-sound.c: (gnome_sound_sample_load_wav),
(use_sound), (gnome_sound_init), (gnome_sound_shutdown):
* libgnome/gnome-triggers.c: (gnome_trigger_free):
g_free/g_strdup handles NULL just fine according to
$CVSROOT/gnumeric/tools/check-gfrees.
libgnome/gnome-score.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libgnome/gnome-score.c b/libgnome/gnome-score.c
index 71e52e1..c2b8bbd 100644
--- a/libgnome/gnome-score.c
+++ b/libgnome/gnome-score.c
@@ -280,8 +280,7 @@ gnome_score_child (int infileno,
g_free (realname);
return EXIT_FAILURE;
}
- if (level)
- g_free(level);
+ g_free(level);
}
g_free (realname);
return EXIT_SUCCESS;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]