aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-07-02 00:20:47 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-07-02 00:20:47 +0200
commitb2a1baf76f7286f8b5b8504ae8be0f5cb173ea6c (patch)
tree38fd97ce6337c23a3f1bd263e62c79b17d703cd0
parentee7945e2dc6d5b6d21363b26f767babbe709999b (diff)
Patch memory leak
-rw-r--r--cbs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cbs.h b/cbs.h
index 858982b..0295bbf 100644
--- a/cbs.h
+++ b/cbs.h
@@ -421,6 +421,7 @@ llvmquery(struct strs *xs, int flags)
strspush(xs, words, we.we_wordc);
wordfree(&we);
+ free(words);
free(buf);
return true;
}