php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #74747
Patch stomp.diff revision 2017-06-12 07:07 UTC by ljsh_2007 at 163 dot com

Patch stomp.diff for stomp Bug #74747

Patch version 2017-06-12 07:07 UTC

Return to Bug #74747 | Download this patch
Patch Revisions:

Developer: ljsh_2007@163.com

@@ -495,7 +495,9 @@
 
        if (!url_parts || !url_parts->host) {
                STOMP_ERROR(0, PHP_STOMP_ERR_INVALID_BROKER_URI);
-               php_url_free(url_parts);
+               if (url_parts) {
+                       php_url_free(url_parts);
+               }
                return;
        }
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Sep 15 10:01:26 2019 UTC