[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:
Chao Fan <cfan@redhat.com>
Loading
Please sign in to comment