]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix crash in debug printf.
authorMichael Sweet <michael.r.sweet@gmail.com>
Wed, 11 Oct 2017 17:23:27 +0000 (13:23 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Wed, 11 Oct 2017 17:23:27 +0000 (13:23 -0400)
cups/ipp.c

index d974bbab8278bba8ff771b260f6507d8ab0603f4..772b2f0a538ef91e496340a2df72b9e31edd805f 100644 (file)
@@ -6981,7 +6981,7 @@ ipp_set_value(ipp_t           *ipp,       /* IO - IPP message */
     * Reset pointers in the list...
     */
 
-    DEBUG_printf(("4debug_free: %p %s %s%s (%d)", (void *)*attr, (*attr)->name, (*attr)->num_values > 1 ? "1setOf " : "", ippTagString((*attr)->value_tag), (*attr)->num_values));
+    DEBUG_printf(("4debug_free: %p %s", (void *)*attr, temp->name));
     DEBUG_printf(("4debug_alloc: %p %s %s%s (%d)", (void *)temp, temp->name, temp->num_values > 1 ? "1setOf " : "", ippTagString(temp->value_tag), temp->num_values));
 
     if (ipp->current == *attr && ipp->prev)