[hamradio-commits] [dump1090] 328/389: B"H net_io.c: add missing else statement
Matthew Ernisse
mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:20:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
mernisse-guest pushed a commit to branch master
in repository dump1090.
commit 04f4abda709f13545a813c5090a49a54540da5d3
Author: hhm <heehooman+vcs-ci at gmail.com>
Date: Mon Sep 15 09:08:49 2014 -0400
B"H net_io.c: add missing else statement
---
net_io.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net_io.c b/net_io.c
index 67dfa2c..1679ef1 100644
--- a/net_io.c
+++ b/net_io.c
@@ -753,6 +753,7 @@ int handleHTTPRequest(struct client *c, char *p) {
content = (char *) malloc(sbuf.st_size);
if (read(fd, content, sbuf.st_size) != -1) {
clen = sbuf.st_size;
+ } else {
free(content);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git
More information about the pkg-hamradio-commits
mailing list