]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/main.c
More clang warning fixes.
[thirdparty/cups.git] / scheduler / main.c
index 616cf2c3760333964412a7109d155c5129368064..3a2fe7ec90bc8e02223660de6cd0f506e3fd089a 100644 (file)
@@ -345,6 +345,7 @@ main(int  argc,                             /* I - Number of command-line args */
     strlcpy(filename, ConfigurationFile, len);
     if ((slash = strrchr(filename, '/')) == NULL)
     {
+      free(filename);
       _cupsLangPrintf(stderr,
                      _("cupsd: Unable to get path to "
                        "cups-files.conf file."));