diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-03-09 21:57:37 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-03-09 21:57:37 +0000 |
commit | 82ce59cd0fd65f4d3b13dc4c305fc6d8ec44a12c (patch) | |
tree | 59d060f22217bda52a711dbada1b7c771ddca617 /gtk/gtkprogress.c | |
parent | a1e455446281f6a6a1a4eac14cd064cd9cfa93a7 (diff) | |
download | gdk-pixbuf-82ce59cd0fd65f4d3b13dc4c305fc6d8ec44a12c.tar.gz |
Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder,
2007-03-09 Matthias Clasen <mclasen@redhat.com>
* Everywhere: Remove unnecessary NULL checks before
g_free(). (#369666, Morten Welinder, Djihed Afifi)
* configure.in: Check for ftw.h
svn path=/trunk/; revision=17444
Diffstat (limited to 'gtk/gtkprogress.c')
-rw-r--r-- | gtk/gtkprogress.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkprogress.c b/gtk/gtkprogress.c index a9f3f4410..db9e3fe4b 100644 --- a/gtk/gtkprogress.c +++ b/gtk/gtkprogress.c @@ -273,8 +273,7 @@ gtk_progress_finalize (GObject *object) if (progress->offscreen_pixmap) g_object_unref (progress->offscreen_pixmap); - if (progress->format) - g_free (progress->format); + g_free (progress->format); G_OBJECT_CLASS (gtk_progress_parent_class)->finalize (object); } |