summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/nwlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl/lib/nwlib.c')
-rw-r--r--Utilities/cmcurl/lib/nwlib.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/Utilities/cmcurl/lib/nwlib.c b/Utilities/cmcurl/lib/nwlib.c
index 252bf11..bd3f27e 100644
--- a/Utilities/cmcurl/lib/nwlib.c
+++ b/Utilities/cmcurl/lib/nwlib.c
@@ -282,9 +282,7 @@ int DisposeLibraryData( void *data )
if(data) {
void *tenbytes = ((libdata_t *) data)->tenbytes;
- if(tenbytes)
- free(tenbytes);
-
+ free(tenbytes);
free(data);
}
@@ -296,9 +294,7 @@ void DisposeThreadData( void *data )
if(data) {
void *twentybytes = ((libthreaddata_t *) data)->twentybytes;
- if(twentybytes)
- free(twentybytes);
-
+ free(twentybytes);
free(data);
}
}