diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-19 07:18:24 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-19 07:18:24 -0400 |
commit | 4b480381ee7e1b5bbf3c253c0c4bf045e43f0a0e (patch) | |
tree | e853f0f1ed5b2c9968e406da2afcff8a0dcb6afc | |
parent | 17890b1f61da9b0e8ea94ccfe32a9d0f6ebf3111 (diff) |
Fixed segfault.
-rw-r--r-- | core/Lossless_UDP.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Lossless_UDP.c b/core/Lossless_UDP.c index 2210f7d3..506a06eb 100644 --- a/core/Lossless_UDP.c +++ b/core/Lossless_UDP.c | |||
@@ -322,6 +322,7 @@ static void free_connections(void) | |||
322 | if (i == 0) { | 322 | if (i == 0) { |
323 | free(connections); | 323 | free(connections); |
324 | connections = NULL; | 324 | connections = NULL; |
325 | connections_length = i; | ||
325 | return; | 326 | return; |
326 | } | 327 | } |
327 | 328 | ||