Skip to content

Commit

Permalink
pyglue: Fix leak
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Sutton <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
  • Loading branch information
jsutton24 authored and abartlet committed Aug 8, 2023
1 parent fa9f9d4 commit 9a12342
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pyglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ static PyObject *py_get_burnt_commandline(PyObject *self, PyObject *args)

argv = PyList_AsStringList(frame, cmdline_as_list, "sys.argv");
if (argv == NULL) {
TALLOC_FREE(frame);
return NULL;
}

Expand Down

0 comments on commit 9a12342

Please sign in to comment.