Diff between 4a779362b78bd7b62f728a5a13d48e76a3536692 and 95ea711d0dad1826a75f112ba94823a413db4b89
Changed Files
| File | Additions | Deletions | Status |
| obexd/src/ftp.c | +1 | -0 | modified |
Full Patch
diff --git a/obexd/src/ftp.c b/obexd/src/ftp.c
index 4797df5..bd40feb 100644
--- a/obexd/src/ftp.c
+++ b/obexd/src/ftp.c
@@ -124,6 +124,7 @@ static gboolean folder_listing(struct obex_session *os, guint32 *size)
if (lstat(os->current_folder, &dstat) < 0) {
error("lstat: %s(%d)", strerror(errno), errno);
+ g_string_free(listing, TRUE);
return FALSE;
}