[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] wget: implement --post-file
From:       Ron Yorston <rmy () pobox ! com>
Date:       2021-10-01 13:12:58
Message-ID: 6157095a.rm9fMA/ZSpLbWr6r%rmy () pobox ! com
[Download RAW message or body]

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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic