From 1bdbd6f969bc340eb4206e27ba43f60738bd7dc2 Mon Sep 17 00:00:00 2001 From: hogliux Date: Sun, 23 Apr 2017 12:09:33 +0100 Subject: [PATCH] Fixed a potential access-after-free crash in the macOS/iOS implementation of WebInputStream --- modules/juce_core/native/juce_mac_Network.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/native/juce_mac_Network.mm b/modules/juce_core/native/juce_mac_Network.mm index 7b674585aa..32a8fed93f 100644 --- a/modules/juce_core/native/juce_mac_Network.mm +++ b/modules/juce_core/native/juce_mac_Network.mm @@ -1022,7 +1022,7 @@ public: private: WebInputStream& owner; - const URL& url; + URL url; ScopedPointer connection; String headers; MemoryBlock postData;