aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/upload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/upload.c b/examples/upload.c
index 1947f93..c61562a 100644
--- a/examples/upload.c
+++ b/examples/upload.c
@@ -48,6 +48,7 @@ int main(int argc, char const * argv[])
} else {
magi_error_cgi(request.error);
}
+ magi_tempfiles_destroy(&tmps);
magi_request_destroy(&request);
return 0;
}