diff options
Diffstat (limited to 'request.c')
-rw-r--r-- | request.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -180,6 +180,12 @@ void request(void (*handler)(interchange_response *), void (*callback)(void *), CURLFORM_END); if (!strncmp(pair[0], "quantity", 8)) free((void *)pair[1]); + else if (!strncmp(pair[0], "mv_order_", 9) + && strcmp(pair[0], "mv_order_quantity") + && strcmp(pair[0], "mv_order_item")) { + free((void *)pair[0]); + free((void *)pair[1]); + } pair = *++body; } last = NULL; |