OpenPrinting / cups

OpenPrinting CUPS Sources
https://openprinting.github.io/cups
Apache License 2.0
1.05k stars 187 forks source link

scheduler: Fix build failure on Linux with '-Werror -Wall' #836

Closed zdohnal closed 10 months ago

zdohnal commented 10 months ago

The string which we add into array stays const after fixing #814 (because strdup(), which caused memory leak returned char *) and compiler fails because of it if it runs with '-Werror -Wall'.

zdohnal commented 10 months ago

Will be fixed internally without PR - PR for master was approved.