You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After reading data into a buffer the reading_generator_next function
calls invokes the underlying yajl parsing routine, which might return
successfully or not. There was a memory leak in the latter case, since
the "view" Py_buffer object was not being released before checking for
NULL returns and returning NULL ourselves.
This commit fixes the bug by ensuring we release the "view" object
before any returns, ensuring memory isn't leaked.
This was originally reported in #97.
Signed-off-by: Rodrigo Tobar <[email protected]>
0 commit comments