Skip to content

Commit

Permalink
lib: t_strsplit_tabescaped() - don't create unnecessary data stack me…
Browse files Browse the repository at this point in the history
…mpool

unsafe_data_stack_pool is more efficient to use
  • Loading branch information
sirainen authored and cmouse committed Nov 6, 2017
1 parent 60212a5 commit 4ec5591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/strescape.c
Expand Up @@ -262,5 +262,5 @@ char **p_strsplit_tabescaped(pool_t pool, const char *str)

const char *const *t_strsplit_tabescaped(const char *str)
{
return (void *)p_strsplit_tabescaped(pool_datastack_create(), str);
return (void *)p_strsplit_tabescaped(unsafe_data_stack_pool, str);
}

0 comments on commit 4ec5591

Please sign in to comment.