1
0
mirror of https://github.com/systemd/systemd.git synced 2025-08-15 01:49:58 +03:00

dissect: fix memleak

Fixes #18903.
This commit is contained in:
Yu Watanabe
2021-03-07 00:05:03 +09:00
parent 57f69536a8
commit f91861e49f

View File

@ -1570,6 +1570,7 @@ DecryptedImage* decrypted_image_unref(DecryptedImage* d) {
free(p->name);
}
free(d->decrypted);
free(d);
#endif
return NULL;