]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] UCL: Don't set cur_file twice
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 13 Dec 2018 13:57:55 +0000 (13:57 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 13 Dec 2018 13:57:55 +0000 (13:57 +0000)
contrib/libucl/ucl_util.c

index 10e5df61f3bfcd2de850b7eee2ba6a0f5e6fdaf8..fb185e48bd34465f87aba7739a12ee4967946567 100644 (file)
@@ -1149,7 +1149,6 @@ ucl_include_file_single (const unsigned char *data, size_t len,
        }
 
        old_curfile = parser->cur_file;
-       parser->cur_file = strdup (realbuf);
 
        /* Store old file vars */
        DL_FOREACH_SAFE (parser->variables, cur_var, tmp_var) {