Skip to content
Commit a5bd2e10 authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

gaiconf_init: Avoid double-free in label and precedence lists



labellist and precedencelist could get freed a second time if there
are allocation failures, so set them to NULL to avoid a double-free.

Reviewed-by: default avatarArjun Shankar <arjun@redhat.com>
(cherry picked from commit 77a34079)
parent 3a48da47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment