[PATCH] wget: implement --post-file

Ron Yorston rmy at pobox.com
Fri Oct 1 13:12:58 UTC 2021


Denys wrote:
>>  #if ENABLE_FEATURE_CLEAN_UP && ENABLE_FEATURE_WGET_LONG_OPTIONS
>>         free(G.extra_headers);
>> +       free(G.post_data);
>> +       free(G.post_file);
>
>
>This is wrong, isn't it? G.post_file is not malloced.
>G.post_data is not always allocated.

Yes, it's wrong.  Sorry.

Ron


More information about the busybox mailing list