Page MenuHomeFreeBSD

libkiconv: address memory leak in a not-found case
ClosedPublic

Authored by emaste on Apr 21 2021, 5:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 1, 7:46 PM
Unknown Object (File)
Fri, Aug 1, 4:35 PM
Unknown Object (File)
Sat, Jul 19, 2:25 PM
Unknown Object (File)
Sat, Jul 19, 12:40 AM
Unknown Object (File)
Sat, Jul 19, 12:14 AM
Unknown Object (File)
Thu, Jul 17, 5:41 PM
Unknown Object (File)
Jul 1 2025, 10:31 AM
Unknown Object (File)
Jun 30 2025, 5:28 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
scottl requested changes to this revision.Apr 21 2021, 5:59 PM
scottl added a subscriber: scottl.
scottl added inline comments.
lib/libkiconv/kiconv_sysctl.c
90

Do you mean free(csi) here?

This revision now requires changes to proceed.Apr 21 2021, 5:59 PM
jhb added a subscriber: jhb.

RAII would be nice.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 22 2021, 11:34 PM
This revision was automatically updated to reflect the committed changes.