Possible memory leak in modules/database/src/std/link/lnkCalc.c

Bug #1862917 reported by Karl Vestin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Fix Committed
Undecided
Karl Vestin

Bug Description

Codacy reports an Error level issue on a possible memory leak in modules/database/src/std/link/lnkCalc.c line 201.

If the malloc for postbuf successed but the malloc for inbuf then fails the memory for postbuf is never freed.

Tags: codacy
Revision history for this message
Karl Vestin (karlvestin) wrote :
Karl Vestin (karlvestin)
Changed in epics-base:
assignee: nobody → Karl Vestin (karlvestin)
Karl Vestin (karlvestin)
Changed in epics-base:
status: New → In Progress
Revision history for this message
Karl Vestin (karlvestin) wrote :
Changed in epics-base:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.