cups-filters/cups-filters-free-current-media.patch
2020-11-24 06:53:42 +01:00

13 lines
395 B
Diff

diff --git a/utils/cups-browsed.c b/utils/cups-browsed.c
index 58f8be5..3cb1f71 100644
--- a/utils/cups-browsed.c
+++ b/utils/cups-browsed.c
@@ -3089,6 +3089,7 @@ void get_cluster_default_attributes(ipp_t** merged_attributes,
free(temp->media_source);
free(temp->media_type);
free(temp);
+ ippDelete(current_media);
}
/*Finding the default colormodel for the cluster*/