memleak
This commit is contained in:
parent
03acf8e19c
commit
0895ac7b0d
2 changed files with 3 additions and 1 deletions
|
|
@ -737,6 +737,8 @@ text_modify(clicon_handle h,
|
|||
} /* else Y_CONTAINER */
|
||||
retval = 1;
|
||||
done:
|
||||
if (nscx1)
|
||||
xml_nsctx_free(nscx1);
|
||||
/* Remove dangling added objects */
|
||||
if (changed && x0 && xml_parent(x0)==NULL)
|
||||
xml_purge(x0);
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@ xml_nsctx_node1(cxobj *xn,
|
|||
* xml_nsctx_free(nsc)
|
||||
* @endcode
|
||||
* @see xml_nsctx_init
|
||||
* @see xml_nsctx_free Free the reutned handle
|
||||
* @see xml_nsctx_free Free the returned handle
|
||||
*/
|
||||
int
|
||||
xml_nsctx_node(cxobj *xn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue