summaryrefslogtreecommitdiff
path: root/src/ecommon/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-29 14:34:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-29 14:34:30 +0300
commit48b017b41c8e045bee30d17470db6f547682e4c5 (patch)
tree9aa930cd8bbc4798d3d05f8cea857fbb6ab0506e /src/ecommon/utils
parentc9673032ff9fb5b5c1a223432181d60184685d5a (diff)
downloadplugin-48b017b41c8e045bee30d17470db6f547682e4c5.tar.gz
plugin-48b017b41c8e045bee30d17470db6f547682e4c5.tar.bz2
plugin-48b017b41c8e045bee30d17470db6f547682e4c5.tar.xz
plugin-48b017b41c8e045bee30d17470db6f547682e4c5.zip
Fix wrong return.
Diffstat (limited to 'src/ecommon/utils')
-rw-r--r--src/ecommon/utils/strutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ecommon/utils/strutil.c b/src/ecommon/utils/strutil.c
index d782b0a..7862777 100644
--- a/src/ecommon/utils/strutil.c
+++ b/src/ecommon/utils/strutil.c
@@ -46,7 +46,7 @@ struct strutil_data *strutil_split(const char *str,
void strutil_free(struct strutil_data *data)
{
if (!data)
- return NULL;
+ return;
VECTOR_CLEAR(data->parts);
aFree(data->str);
aFree(data);