BFLD_PTR embedded fields shall be freed automatically when tpfree() is run on main buffer
|Priority:||Normal (Code 4)||Due date:|
Currently memory leak is possible, if for example auto-buffer with BFLD_PTR fields is received and if service does not free in recursive way embedded buffers, they become basically leaked.
#1 Updated by Madars over 1 year ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
tpfree() has been updated so that it traverses any embedded BFLD_UBF or BFLD_PTR fields. It collects any XATMI buffer pointers and performs the free.
If some of the BFLD_PTR fields shall be left in the system after the free (or free of automatic buffer), the value shall be set to NULL ptr prior the tpfree() takes place.
Additionally added new env parameter NDRX_DEBUG_STR which allows to set debug configuration in the environment for process which is being started.
Available from Enduro/X release 8.0.6+.