X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=loaders.c;h=9ec017ce63dfe500482e5caceb900ff475bbb45e;hp=af5a8d7ea86acf7a81bbb43b8b67631589174242;hb=8383a7f4f1db4fa709339e7b324689b5ece8d633;hpb=9eeb39382a0d70b900b889e98d69ce584527ac1a diff --git a/loaders.c b/loaders.c index af5a8d7e..9ec017ce 100644 --- a/loaders.c +++ b/loaders.c @@ -1,4 +1,4 @@ -const char loaders_rcs[] = "$Id: loaders.c,v 1.106 2016/12/24 16:00:49 fabiankeil Exp $"; +const char loaders_rcs[] = "$Id: loaders.c,v 1.108 2017/06/26 12:17:57 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loaders.c,v $ @@ -219,8 +219,6 @@ unsigned int sweep(void) { last_active->next = client_list->next; - free_csp_resources(csp); - #ifdef FEATURE_STATISTICS urls_read++; if (csp->flags & CSP_FLAG_REJECTED) @@ -315,12 +313,6 @@ int check_file_changed(const struct file_list * current, fs->filename = strdup_or_die(filename); fs->lastmodified = statbuf->st_mtime; - if (fs->filename == NULL) - { - /* Out of memory error */ - freez (fs); - return 1; - } *newfl = fs; return 1; }