summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2016-07-07 19:46:47 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2016-07-07 19:46:47 -0400
commitf528b66a0ea74b306bed22d243495458c8cf2383 (patch)
tree8f29e25b83ca88529da26e8b9e0e988005357f4a /src/common.h
parent03bdee772197c600b0066ebd1f27172332045da2 (diff)
downloadudpastcp-f528b66a0ea74b306bed22d243495458c8cf2383.tar.xz
udpastcp-f528b66a0ea74b306bed22d243495458c8cf2383.zip
Fix memory leaks, miscellaneous issues.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 5800581..fea0db7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -5,3 +5,5 @@
#endif
#define IN_ADDR_PORT(addr) (((struct sockaddr_in *)addr)->sin_port)
+
+extern int free_mem_on_exit;