Skip to content
Commit 77a34079 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>
parent 45caed9d
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