]> git.ipfire.org Git - thirdparty/cups.git/commit
ppd-cache: fix memory leak in `_cupsConvertOptions()` 1354/head
authorElizaveta Tereshkina <etereshkina@astralinux.ru>
Tue, 2 Sep 2025 13:25:34 +0000 (16:25 +0300)
committerElizaveta Tereshkina <etereshkina@astralinux.ru>
Tue, 2 Sep 2025 13:25:34 +0000 (16:25 +0300)
commit43d616bd0c9e200a91c32d3c5e766a9fdd8522ff
tree8531de3ef54e696fa5ecd8efd8dc1f0432ed9dc2
parent767d72c38bbed477ad503309fe072b661231f7ea
ppd-cache: fix memory leak in `_cupsConvertOptions()`

Add `ippDelete()` after `ippAddCollection()` to avoid memory leak.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: f099325eb (Move _cupsConvertOptions to ppd-cache since it depends on PPDs.)
Signed-off-by: Elizaveta Tereshkina <etereshkina@astralinux.ru>
cups/ppd-cache.c