#1 Need to dynamically allocate buffer memory for CDB trace

CLI (2)
Petros Koutoupis

I need to dynamically allocate buffer memory for CDB trace so that I may free it and prevent memory leaks. Initially when the utility got started, I didn't plan for thousands of commands to be placed into the trace file. Currently the buffers for each CDB are allocated statically and each loop around it will statically allocate more memory for the buffer while the older ones are unused and in a memory leakage state.

I just need to malloc() the buffer when needed and free() it when done so that I do not have this problem.


    • labels: 1046416 --> CLI
  • Changing assignment.

    • milestone: --> v1.x
    • priority: 7 --> 5
    • assigned_to: pkoutoupis --> hydrasysllc
  • Version 2.0 addresses cleaner methods of dynamically allocating multiple regions of memory for CDB strings and more in the form of linked lists.

    • status: open --> open-wont-fix
    • status: open-wont-fix --> closed-wont-fix