mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-21 06:14:40 -05:00
varargs cleanup (coverity)
This commit is contained in:
parent
79cce59ad4
commit
975dce7ffb
1 changed files with 2 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ backsql_strcat_x( struct berbuf *dest, void *memctx, ... )
|
|||
Debug( LDAP_DEBUG_ANY, "backsql_strcat(): "
|
||||
"could not reallocate string buffer.\n",
|
||||
0, 0, 0 );
|
||||
va_end( strs );
|
||||
return NULL;
|
||||
}
|
||||
dest->bb_val.bv_val = tmp_dest;
|
||||
|
|
@ -212,6 +213,7 @@ backsql_strfcat_x( struct berbuf *dest, void *memctx, const char *fmt, ... )
|
|||
Debug( LDAP_DEBUG_ANY, "backsql_strfcat(): "
|
||||
"could not reallocate string buffer.\n",
|
||||
0, 0, 0 );
|
||||
va_end( strs );
|
||||
return NULL;
|
||||
}
|
||||
dest->bb_val.bv_val = tmp_dest;
|
||||
|
|
|
|||
Loading…
Reference in a new issue