projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
05b18a8
)
cgi_show_client_tags(): Fix a harmless 'dead store' warning
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 29 May 2017 10:13:36 +0000
(10:13 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 29 May 2017 10:13:36 +0000
(10:13 +0000)
cgisimple.c
patch
|
blob
|
history
diff --git
a/cgisimple.c
b/cgisimple.c
index
638d787
..
562eeb6
100644
(file)
--- a/
cgisimple.c
+++ b/
cgisimple.c
@@
-1,4
+1,4
@@
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.14
8 2017/03/08 13:13:18
fabiankeil Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.14
9 2017/05/04 14:33:17
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
@@
-391,12
+391,16
@@
jb_err cgi_show_client_tags(struct client_state *csp,
if (!err) err = string_append(&client_tag_status, "</td></tr>\n");
if (err)
{
if (!err) err = string_append(&client_tag_status, "</td></tr>\n");
if (err)
{
- free_map(exports);
- return JB_ERR_MEMORY;
+ break;
}
this_tag = this_tag->next;
}
if (!err) err = string_append(&client_tag_status, "</table>\n");
}
this_tag = this_tag->next;
}
if (!err) err = string_append(&client_tag_status, "</table>\n");
+ if (err)
+ {
+ free_map(exports);
+ return JB_ERR_MEMORY;
+ }
}
refresh_delay = get_next_tag_timeout_for_client(csp->client_address);
if (refresh_delay != 0)
}
refresh_delay = get_next_tag_timeout_for_client(csp->client_address);
if (refresh_delay != 0)