aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorRuud van der Pas <ruud.vanderpas@oracle.com>2024-10-16 16:12:06 +0000
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>2024-10-17 20:20:23 -0700
commitd6a07eeabbadbf846da7d6841340fc589d9a57aa (patch)
tree4c9a2317b750bfe4324e96c65ce87eb1dcd7a2f0 /gdb/python
parent0e15fd3d54f8e70015f31226eaa87f9eaa536fbd (diff)
downloadbinutils-d6a07eeabbadbf846da7d6841340fc589d9a57aa.zip
binutils-d6a07eeabbadbf846da7d6841340fc589d9a57aa.tar.gz
binutils-d6a07eeabbadbf846da7d6841340fc589d9a57aa.tar.bz2
gprofng: fix a memory leak in the mxv-pthreads example
Fix a bug where the main program does not free the rows of the matrix. The memory for thread_data_arguments is also not released. In function check_results, the memory for the marker vector is not released. The usage of the verbose veriable has been extended to print more messages. gprofng/ChangeLog 2024-10-16 Ruud van der Pas <ruud.vanderpas@oracle.com> PR 32273 PR 32274 * mxv-pthreads/src/main.c: add calls to free() to release the memory allocated for array A and vector marker. Improve the usage of the verbose variable. * mxv-pthreads/src/manage_data.c: add a diagnostic printf statement. * mxv-pthreads/src/mydefs.h: adapt prototype to match the changes in main.c.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions