]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix a clang warning.
authorMichael R Sweet <msweet@msweet.org>
Sun, 26 Jul 2026 22:33:36 +0000 (18:33 -0400)
committerMichael R Sweet <msweet@msweet.org>
Sun, 26 Jul 2026 22:33:36 +0000 (18:33 -0400)
cups/ipp.c

index 183dc1ceebfcff7a8939bdd2069ef5405873717a..80fb58fac774a3b74697270f0cdcd52ea3ffbe42 100644 (file)
@@ -3425,7 +3425,7 @@ ippSetStringfv(ipp_t           *ipp,      // I  - IPP message
   }
 
   // Set the formatted string and return...
-  return (ippSetString(ipp, attr, element, buffer));
+  return (ippSetString(ipp, attr, element, _cupsStrAlloc(buffer)));
 }