diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-05 14:40:10 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-05 14:40:10 +0000 |
commit | 64f8d4af40adbcfb76ba4beb19f96b89d93c30ed (patch) | |
tree | 6e9ce2d095066a6d35c86a046e55daf0abd80c51 /src | |
parent | 2537f3e7fb5a78a7dd1454f1c3682a639f0fd043 (diff) | |
download | rspamd-64f8d4af40adbcfb76ba4beb19f96b89d93c30ed.tar.gz rspamd-64f8d4af40adbcfb76ba4beb19f96b89d93c30ed.zip |
Fix initialization.
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/lua_regexp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_regexp.c b/src/lua/lua_regexp.c index 84455280f..a22eaf93a 100644 --- a/src/lua/lua_regexp.c +++ b/src/lua/lua_regexp.c @@ -129,6 +129,7 @@ lua_regexp_create (lua_State *L) if (sep == '\0' || g_ascii_isalnum (sep)) { /* Not a special case */ + pattern = g_strdup (string); } else { slash = strrchr (string, sep); |