mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
shell: free cmdline before continue
This patch frees the cmdline when it's not empty but it doesn't contain any actual character. If the cmdline is just whitespaces or \r and \n, the loop continues without freeing the cmdline string, so it's a leak. Fix https://gitlab.gnome.org/GNOME/libxml2/-/issues/1009
This commit is contained in:
committed by
Daniel Garcia Moreno
parent
76a6ba4c41
commit
160c8a43ba
Reference in New Issue
Block a user