diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-05-11 14:48:53 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-05-11 14:48:53 +0000 |
commit | d3999e06d199a2538db69536bd9266666180ed68 (patch) | |
tree | 8336ac431f02bbe8cf7ca30dc3b6e7dbdb824bd7 /lib/formdata.h | |
parent | 0b0b37cffe7ce976970da34d517c55d10595ee59 (diff) | |
download | curl-d3999e06d199a2538db69536bd9266666180ed68.tar.gz |
clear up memory on failure a little better
Diffstat (limited to 'lib/formdata.h')
-rw-r--r-- | lib/formdata.h | 2 |
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; |