crun icon indicating copy to clipboard operation
crun copied to clipboard

status: add cleanup_free

Open eriksjolund opened this issue 5 months ago • 3 comments
trafficstars

The path variable is handled by STEAL_POINTER()

  • https://github.com/containers/crun/blob/d89542c61520ac5c971090dfa3201e9c4ce18ad1/src/libcrun/status.c#L131

but cleanup_freewas missing.

Summary by Sourcery

Bug Fixes:

  • Annotate path with cleanup_free in status.c to prevent potential memory leaks.

eriksjolund avatar Jun 17 '25 05:06 eriksjolund