diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-10 18:38:33 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-10 18:38:33 +0100 |
| commit | 11432f7a08fd0795df7617d1e01bf39a6706f24a (patch) | |
| tree | 1344d481df4821ed7be34a71aff6a794e76656e0 /jq.pyx | |
| parent | c9c88166beaa21524ad7f31e1b15bee5d711b0c7 (diff) | |
Fix leak when slurping invalid text
Diffstat (limited to 'jq.pyx')
| -rw-r--r-- | jq.pyx | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -433,6 +433,9 @@ cdef class _ResultIterator(object): except StopIteration: self._slurp = False break + except: + jv_free(value) + raise else: value = self._parse_next_input() |
