Azure IoT common library
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Diff: gballoc.c
- Revision:
- 25:8507bf644fdf
- Parent:
- 21:b92006c5b9ff
- Child:
- 34:0a87c89bdcd0
--- a/gballoc.c Thu Apr 06 14:12:06 2017 -0700 +++ b/gballoc.c Fri Apr 21 14:51:10 2017 -0700 @@ -350,10 +350,10 @@ } else { - /* Codes_SRS_GBALLOC_01_010: [gballoc_getMaximumMemoryUsed shall return the maximum amount of total memory used recorded since the module initialization.] */ + /* Codes_SRS_GBALLOC_01_010: [gballoc_getMaximumMemoryUsed shall return the maximum amount of total memory used recorded since the module initialization.] */ result = maxSize; - Unlock(gballocThreadSafeLock); -} + (void)Unlock(gballocThreadSafeLock); + } return result; } @@ -377,9 +377,9 @@ } else { - /*Codes_SRS_GBALLOC_02_001: [gballoc_getCurrentMemoryUsed shall return the currently used memory size.] */ + /*Codes_SRS_GBALLOC_02_001: [gballoc_getCurrentMemoryUsed shall return the currently used memory size.] */ result = totalSize; - Unlock(gballocThreadSafeLock); + (void)Unlock(gballocThreadSafeLock); } return result;