Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-965

The pointer 'rpaths' may be allocated a block of memory, and it should free the memory at the end.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 17.10
    • 17.01, 17.04, 17.07, 17.10
    • None
    • None

      In statement "vec_add2 (rpaths, rpath, 1);", the "rpaths" will apply a block of memory to store "rpath" info. So, at the end of function, we should free the "rpaths" since we do not use it any more.Otherwise, it may incur memory leaks.

            shenJibiao Shen Jibiao
            shenJibiao Shen Jibiao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: