[itox-utils] delete useless free()
@@ -19,7 +19,6 @@ char *LITE_format_string(const char *fmt, ...)
assert(rc < 1024);
dst = LITE_strdup(tmp);
- free(tmp);
return dst;
}
@@ -39,7 +38,6 @@ char *LITE_format_nstring(const int len, const char *fmt, ...)
dst = LITE_malloc(len + 1);
LITE_snprintf(dst, (len + 1), "%s", tmp);
- free(tmp);
return dst;
}
