projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix compiler warning about ambiguous else
[privoxy.git]
/
loaders.c
diff --git
a/loaders.c
b/loaders.c
index
92d8cec
..
1fdeabf
100644
(file)
--- a/
loaders.c
+++ b/
loaders.c
@@
-1,4
+1,4
@@
-const char loaders_rcs[] = "$Id: loaders.c,v 1.10
1 2016/02/26 12:29:38
fabiankeil Exp $";
+const char loaders_rcs[] = "$Id: loaders.c,v 1.10
4 2016/05/22 12:43:07
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loaders.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loaders.c,v $
@@
-182,6
+182,10
@@
unsigned int sweep(void)
last_active->next = client_list->next;
freez(csp->ip_addr_str);
last_active->next = client_list->next;
freez(csp->ip_addr_str);
+#ifdef FEATURE_CLIENT_TAGS
+ freez(csp->client_address);
+#endif
+ freez(csp->listen_addr_str);
freez(csp->client_iob->buf);
freez(csp->iob->buf);
freez(csp->error_message);
freez(csp->client_iob->buf);
freez(csp->iob->buf);
freez(csp->error_message);
@@
-630,15
+634,12
@@
jb_err edit_read_line(FILE *fp,
if (*linestart)
{
is_empty = 0;
if (*linestart)
{
is_empty = 0;
- if (
data
)
+ if (
string_append(&data, linestart)
)
{
{
- if (string_append(&data, linestart))
- {
- freez(raw);
- freez(prefix);
- free(linebuf);
- return JB_ERR_MEMORY;
- }
+ freez(raw);
+ freez(prefix);
+ free(linebuf);
+ return JB_ERR_MEMORY;
}
}
}
}