Skip to content

Commit 5522716

Browse files
committed
smallft: drop unnecessary null checks
Fixes #12 Reported-by: Markus Elfring
1 parent 738e179 commit 5522716

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libspeexdsp/smallft.c

+2-4
Original file line numberDiff line numberDiff line change
@@ -1253,9 +1253,7 @@ void spx_drft_clear(struct drft_lookup *l)
12531253
{
12541254
if(l)
12551255
{
1256-
if(l->trigcache)
1257-
speex_free(l->trigcache);
1258-
if(l->splitcache)
1259-
speex_free(l->splitcache);
1256+
speex_free(l->trigcache);
1257+
speex_free(l->splitcache);
12601258
}
12611259
}

0 commit comments

Comments
 (0)