summaryrefslogtreecommitdiff
path: root/lib/formdata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-11 14:48:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-11 14:48:53 +0000
commitd3999e06d199a2538db69536bd9266666180ed68 (patch)
tree8336ac431f02bbe8cf7ca30dc3b6e7dbdb824bd7 /lib/formdata.h
parent0b0b37cffe7ce976970da34d517c55d10595ee59 (diff)
downloadcurl-d3999e06d199a2538db69536bd9266666180ed68.tar.gz
clear up memory on failure a little better
Diffstat (limited to 'lib/formdata.h')
-rw-r--r--lib/formdata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/formdata.h b/lib/formdata.h
index d087fa7ca..af62156d6 100644
--- a/lib/formdata.h
+++ b/lib/formdata.h
@@ -39,8 +39,10 @@ struct Form {
/* used by FormAdd for temporary storage */
typedef struct FormInfo {
char *name;
+ bool name_alloc;
size_t namelength;
char *value;
+ bool value_alloc;
size_t contentslength;
char *contenttype;
long flags;