Skip to content
Snippets Groups Projects
Commit 8f7bd94c authored by Howard Chu's avatar Howard Chu Committed by Howard Chu
Browse files

varargs cleanup (coverity)

parent 932bb682
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment