mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
csa: Coverity (memory corruption, moderate)
This commit is contained in:
parent
50de34a933
commit
3013374988
1 changed files with 3 additions and 1 deletions
|
@ -481,10 +481,12 @@ _DtCm_handle_callback()
|
|||
prev->next = ptr->next;
|
||||
|
||||
_FreeCallbackInfo(ptr);
|
||||
ptr = NULL; /* freed by _FreeCallbackInfo() */
|
||||
|
||||
} else {
|
||||
prev = ptr;
|
||||
}
|
||||
if (ptr)
|
||||
ptr = ptr->next;
|
||||
}
|
||||
cb_tail = prev;
|
||||
|
|
Loading…
Reference in a new issue