summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2014-01-04 19:34:04 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2014-01-04 19:34:18 +0000
commit581d87757601286fbb8250abc8d2bd185dddecb7 (patch)
tree06d85cc4ce542433e14209f80a7793b881e0339f /content/fetch.c
parent6c63adb1c1b7ecdc6666d6b84ec3b354ce8c37ab (diff)
downloadnetsurf-581d87757601286fbb8250abc8d2bd185dddecb7.tar.gz
netsurf-581d87757601286fbb8250abc8d2bd185dddecb7.tar.bz2
In theory, store raw filenames and pass them through for file upload. Untested due to no file-upload in GTK frontend just yet
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 1ff925ae3..ffc907891 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -665,6 +665,8 @@ void fetch_multipart_data_destroy(struct fetch_multipart_data *list)
next = list->next;
free(list->name);
free(list->value);
+ if (list->file)
+ free(list->rawfile);
free(list);
}
}