aboutsummaryrefslogtreecommitdiff
path: root/examples/hello.c
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2014-05-25 23:50:35 +0300
committerOskari Timperi <oskari.timperi@iki.fi>2014-05-25 23:52:19 +0300
commitde634de699dffb2d2967cbe123cee1716ea26ba0 (patch)
tree3905b3c2a4a5368002809d661e9a550eb111134c /examples/hello.c
parent66cf9b0675fd18b34983fbbf0fa9313825d0a31a (diff)
downloadlibuvh-de634de699dffb2d2967cbe123cee1716ea26ba0.tar.gz
libuvh-de634de699dffb2d2967cbe123cee1716ea26ba0.zip
fix memory leaks in examples
Diffstat (limited to 'examples/hello.c')
-rw-r--r--examples/hello.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/hello.c b/examples/hello.c
index 7f18f79..0c16fb5 100644
--- a/examples/hello.c
+++ b/examples/hello.c
@@ -59,6 +59,8 @@ int main()
printf("done\n");
+ uvh_server_free(server);
+
return 0;
error: