mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-11-01 08:48:30 +01:00 
			
		
		
		
	Append terminator in saveStringFromFreeZone()
				
					
				
			This commit is contained in:
		| @@ -401,8 +401,6 @@ class JsonDeserializer { | ||||
|       _stringStorage.append(c); | ||||
|     } | ||||
|  | ||||
|     _stringStorage.append('\0'); | ||||
|  | ||||
|     if (!_stringStorage.isValid()) { | ||||
|       _error = DeserializationError::NoMemory; | ||||
|       return false; | ||||
| @@ -426,8 +424,6 @@ class JsonDeserializer { | ||||
|       return false; | ||||
|     } | ||||
|  | ||||
|     _stringStorage.append('\0'); | ||||
|  | ||||
|     if (!_stringStorage.isValid()) { | ||||
|       _error = DeserializationError::NoMemory; | ||||
|       return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user