summaryrefslogtreecommitdiff
path: root/request.c
diff options
context:
space:
mode:
Diffstat (limited to 'request.c')
-rw-r--r--request.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/request.c b/request.c
index c20587d..0993e25 100644
--- a/request.c
+++ b/request.c
@@ -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;