summaryrefslogtreecommitdiff
path: root/midtrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'midtrans.c')
-rw-r--r--midtrans.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/midtrans.c b/midtrans.c
index 09d3325..3b8d28c 100644
--- a/midtrans.c
+++ b/midtrans.c
@@ -296,7 +296,6 @@ enum midtrans_transaction_status midtrans_notification_transaction(char *post,
json_tokener *tokener = json_tokener_new();
json_object *object = json_tokener_parse_ex(tokener, post,
strlen(post));
- free(post);
enum midtrans_transaction_status status = 0;
const char *status_code = NULL;