[gvfs] afp: fix leak of AfpHandle::tmp_filename
- From: Carl-Anton Ingmarsson <carlantoni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] afp: fix leak of AfpHandle::tmp_filename
- Date: Sun, 22 Jan 2012 17:33:49 +0000 (UTC)
commit 35cf2feab74059065b23073b8bb3bcd8a3786bbf
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Tue Nov 22 23:22:42 2011 +0100
afp: fix leak of AfpHandle::tmp_filename
daemon/gvfsbackendafp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gvfsbackendafp.c b/daemon/gvfsbackendafp.c
index c45eab8..796863a 100644
--- a/daemon/gvfsbackendafp.c
+++ b/daemon/gvfsbackendafp.c
@@ -214,6 +214,7 @@ static void
afp_handle_free (AfpHandle *afp_handle)
{
g_free (afp_handle->filename);
+ g_free (afp_handle->tmp_filename);
g_slice_free (AfpHandle, afp_handle);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]