Azure IoT common library

Dependents:   STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more

Revision:
31:6a55d47aea41
Parent:
21:b92006c5b9ff
Child:
48:81866008bba4
--- a/connection_string_parser.c	Fri Jul 14 16:38:40 2017 -0700
+++ b/connection_string_parser.c	Fri Aug 11 14:03:20 2017 -0700
@@ -25,12 +25,12 @@
     else
     {
         result = connectionstringparser_parse(connString);
+        STRING_delete(connString);
     }
 
     return result;
 }
 
-
 /* Codes_SRS_CONNECTIONSTRINGPARSER_01_001: [connectionstringparser_parse shall parse all key value pairs from the connection_string passed in as argument and return a new map that holds the key/value pairs.] */
 MAP_HANDLE connectionstringparser_parse(STRING_HANDLE connection_string)
 {