Revert "Update to 7.44.0"
[platform/upstream/curl.git] / tests / libtest / lib568.c
index b6f5ab7..4b15821 100644 (file)
@@ -28,6 +28,8 @@
 #include <fcntl.h>
 #endif
 
+#include <curl/mprintf.h>
+
 #include "memdebug.h"
 
 /* build request url */
@@ -159,7 +161,8 @@ test_cleanup:
   if(sdpf)
     fclose(sdpf);
 
-  free(stream_uri);
+  if(stream_uri)
+    free(stream_uri);
 
   if(custom_headers)
     curl_slist_free_all(custom_headers);