doh
[m6w6/ext-http] / php_http_message_body.c
index 1129c54930fa51823e52de22f8c71329f349d036..c9cea55b46f640c4dab754082687c968afd1618c 100644 (file)
@@ -286,7 +286,7 @@ static inline char *format_key(uint type, char *str, ulong num, const char *pref
        } else if (type == HASH_KEY_IS_STRING) {
                new_key = estrdup(str);
        } else {
-               estrdup("");
+               new_key = estrdup("");
        }
 
        return new_key;