mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
libDtSearch: Coverity 86579
This commit is contained in:
parent
f0917ee2b5
commit
aa1bfc0ab3
1 changed files with 1 additions and 2 deletions
|
@ -181,8 +181,7 @@ void ll_free(llist *ll)
|
|||
if ( curr->ptr == NULL )
|
||||
break;
|
||||
bytecpy(&next, &curr->ptr->next, sizeof(LL_P));
|
||||
if ( curr != NULL )
|
||||
d_free((CHAR_P *)curr);
|
||||
d_free((CHAR_P *)curr);
|
||||
bytecpy(&free, &next, sizeof(LL_P));
|
||||
curr = &free;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue