A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Indentation fix
[simgrid.git]
/
win32_test_app
/
src
/
TThreadDynarray.c
diff --git
a/win32_test_app/src/TThreadDynarray.c
b/win32_test_app/src/TThreadDynarray.c
index
73f7543
..
0691116
100644
(file)
--- a/
win32_test_app/src/TThreadDynarray.c
+++ b/
win32_test_app/src/TThreadDynarray.c
@@
-241,10
+241,8
@@
void ThreadDynarray_clear(ThreadDynarray_t ptr)
{
ThreadDynarray_lock(ptr);
- if (ptr->threads) {
- free(ptr->threads);
- ptr->threads = NULL;
- }
+ free(ptr->threads);
+ ptr->threads = NULL;
ptr->count = 0;
ptr->capacity = 0;