diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-13 13:57:55 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-13 13:57:55 +0000 |
commit | e9cf00459aa1e4d6501c0c0da7ab488f6d4be801 (patch) | |
tree | da812d789674b87b5deea7068b82be30782b2b10 /contrib | |
parent | 375688cd33afbd009a010d53cabc85fb20c4b5d2 (diff) | |
download | rspamd-e9cf00459aa1e4d6501c0c0da7ab488f6d4be801.tar.gz rspamd-e9cf00459aa1e4d6501c0c0da7ab488f6d4be801.zip |
[Minor] UCL: Don't set cur_file twice
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/libucl/ucl_util.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/libucl/ucl_util.c b/contrib/libucl/ucl_util.c index 10e5df61f..fb185e48b 100644 --- a/contrib/libucl/ucl_util.c +++ b/contrib/libucl/ucl_util.c @@ -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) { |