Commit 72dec414 authored by Chao Fan's avatar Chao Fan Committed by Atsushi Kumagai
Browse files

[PATCH] Remove the double free of sph.



sph will be freed twice when it meet below conditions:

            sph->signature1 != SADUMP_SIGNATURE1 ||
            sph->signature2 != SADUMP_SIGNATURE2

Then it will be freed once and goto error: to free again.
So remove the 1st free.

Signed-off-by: default avatarChao Fan <cfan@redhat.com>
parent 0c65e380
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment