gnome-utils r8187 - trunk/gnome-screenshot
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-utils r8187 - trunk/gnome-screenshot
- Date: Tue, 18 Nov 2008 12:37:43 +0000 (UTC)
Author: cosimoc
Date: Tue Nov 18 12:37:43 2008
New Revision: 8187
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=8187&view=rev
Log:
2008-11-18 Cosimo Cecchi <cosimoc gnome org>
* gnome-screenshot.c: (try_check_file):
Plug some other memory leaks.
Modified:
trunk/gnome-screenshot/ChangeLog
trunk/gnome-screenshot/gnome-screenshot.c
Modified: trunk/gnome-screenshot/gnome-screenshot.c
==============================================================================
--- trunk/gnome-screenshot/gnome-screenshot.c (original)
+++ trunk/gnome-screenshot/gnome-screenshot.c Tue Nov 18 12:37:43 2008
@@ -839,6 +839,7 @@
/* file already exists, iterate again */
g_object_unref (info);
g_object_unref (file);
+ g_free (uri);
(job->iteration)++;
@@ -871,6 +872,8 @@
else
{
job->retval = uri;
+
+ g_object_unref (parent);
goto out;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]