We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d94a8f5 commit 7d314d8Copy full SHA for 7d314d8
src/common/var_eval.c
@@ -23,6 +23,8 @@ var_p_t v_get_tmp(var_p_t map) {
23
var_p_t result = map_get(map, MAP_TMP_FIELD);
24
if (result == NULL) {
25
result = map_add_var(map, MAP_TMP_FIELD, 0);
26
+ } else {
27
+ v_free(result);
28
}
29
return result;
30
0 commit comments