security.c: Rewrite some code
[wimlib] / src / add_image.c
index 7f337c5d04e032e8b0309c73c918a3b169e9f0de..caffafebd23de4935cd2bd4d84591b8dc1cc779e 100644 (file)
@@ -120,7 +120,7 @@ out_put_image_metadata:
                           wim->lookup_table);
        goto out;
 out_free_security_data:
                           wim->lookup_table);
        goto out;
 out_free_security_data:
-       free_security_data(sd);
+       free_wim_security_data(sd);
 out:
        return ret;
 }
 out:
        return ret;
 }