gvfs r2175 - in trunk: . daemon
- From: ryanl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r2175 - in trunk: . daemon
- Date: Tue, 20 Jan 2009 17:11:11 +0000 (UTC)
Author: ryanl
Date: Tue Jan 20 17:11:11 2009
New Revision: 2175
URL: http://svn.gnome.org/viewvc/gvfs?rev=2175&view=rev
Log:
2009-01-20 Ryan Lortie <desrt desrt ca>
* daemon/gvfsbackendtrash.c: nail a couple of leaks
Modified:
trunk/ChangeLog
trunk/daemon/gvfsbackendtrash.c
Modified: trunk/daemon/gvfsbackendtrash.c
==============================================================================
--- trunk/daemon/gvfsbackendtrash.c (original)
+++ trunk/daemon/gvfsbackendtrash.c Tue Jan 20 17:11:11 2009
@@ -242,6 +242,7 @@
GFileInputStream *stream;
stream = g_file_read (real, NULL, &error);
+ g_object_unref (real);
if (stream)
{
@@ -320,6 +321,7 @@
if (g_input_stream_close (handle, NULL, &error))
{
g_vfs_job_succeeded (G_VFS_JOB (job));
+ g_object_unref (handle);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]