diff options
Diffstat (limited to 'widgets/shortcut-bar')
-rw-r--r-- | widgets/shortcut-bar/ChangeLog | 3 | ||||
-rw-r--r-- | widgets/shortcut-bar/e-shortcut-bar.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/widgets/shortcut-bar/ChangeLog b/widgets/shortcut-bar/ChangeLog index addd76670e..5033b6da94 100644 --- a/widgets/shortcut-bar/ChangeLog +++ b/widgets/shortcut-bar/ChangeLog @@ -1,5 +1,8 @@ 2000-05-25 Ettore Perazzoli <ettore@helixcode.com> + * e-shortcut-bar.c (e_shortcut_bar_load_image): Leak plug: free + pathname returned from `gnome_pixmap_file()'. + * Makefile.am: Add `-I$(top_srcdir)'. 2000-05-24 Christopher James Lahey <clahey@helixcode.com> diff --git a/widgets/shortcut-bar/e-shortcut-bar.c b/widgets/shortcut-bar/e-shortcut-bar.c index bca9d5c61a..d668516338 100644 --- a/widgets/shortcut-bar/e-shortcut-bar.c +++ b/widgets/shortcut-bar/e-shortcut-bar.c @@ -650,5 +650,7 @@ e_shortcut_bar_load_image (const gchar *filename) else g_warning ("Couldn't find pixmap: %s", filename); + g_free (pathname); + return image; } |