mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Remove another unreachable branch in the sqlite3_set_clientdata() logic.
FossilOrigin-Name: 57e31e6b10b2aa68b6039914d191819bae0aa60999a99d5ef23ca18128b72e0e
This commit is contained in:
@@ -3742,7 +3742,8 @@ int sqlite3_set_clientdata(
|
||||
pp = &p->pNext;
|
||||
}
|
||||
if( p ){
|
||||
if( p->pData && p->xDestructor ) p->xDestructor(p->pData);
|
||||
assert( p->pData!=0 );
|
||||
if( p->xDestructor ) p->xDestructor(p->pData);
|
||||
if( pData==0 ){
|
||||
*pp = p->pNext;
|
||||
sqlite3_free(p);
|
||||
|
Reference in New Issue
Block a user