aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2019-11-30 18:53:03 +0300
committerAleksey Veresov <aleksey@veresov.pro>2019-11-30 18:53:03 +0300
commit59224e484253b32432743248672d8d8ba69f110b (patch)
treeb195e59d00fa7949474e5f6bdc80f52d73a1d6f5 /examples
parent676f6520bf76867135f1af4fab5d69b3b212d198 (diff)
downloadmagi-59224e484253b32432743248672d8d8ba69f110b.tar
magi-59224e484253b32432743248672d8d8ba69f110b.tar.xz
magi-59224e484253b32432743248672d8d8ba69f110b.zip
[magi] fix
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;
}