Skip to content
Snippets Groups Projects
Commit 18339865 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Felix Paul Kühne
Browse files

picture: fix potential use-after-free on error

picture_InternalClone can fail and return NULL, so the clone picture
must not be used in case of error.

Regression from e0b6a09a.
parent 7a914bfc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment