projects
/
blerg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a58d07
)
Fix double-close for empty account
author
Chip Black
<bytex64@bytex64.net>
Mon, 11 Apr 2011 00:14:00 +0000
(19:14 -0500)
committer
Chip Black
<bytex64@bytex64.net>
Mon, 11 Apr 2011 00:14:00 +0000
(19:14 -0500)
http/http_blerg.c
patch
|
blob
|
history
diff --git
a/http/http_blerg.c
b/http/http_blerg.c
index
a4226ab
..
8a5b9a5
100644
(file)
--- a/
http/http_blerg.c
+++ b/
http/http_blerg.c
@@
-294,7
+294,6
@@
struct MHD_Response *create_response_for_range(struct blerg *b, uint64_t from, u
uint64_t record_count = blerg_get_record_count(b);
if (from > to || from >= record_count || to >= record_count || to - from > 99) {
- blerg_close(b);
free(gs);
return NULL;
}