Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150093651
D9767.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
456 B
Referenced Files
None
Subscribers
None
D9767.diff
View Options
Index: cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c
===================================================================
--- cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c
+++ cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c
@@ -346,6 +346,7 @@
if ((sp32 = malloc(nbytes)) == NULL || pread64(fd,
sp32, nbytes, hdr.e64.e_shoff) != nbytes) {
free(sp);
+ free(sp32);
return (ctf_set_open_errno(errp, errno));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 30, 8:02 AM (11 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30580194
Default Alt Text
D9767.diff (456 B)
Attached To
Mode
D9767: Fix a memory leak in libctf
Attached
Detach File
Event Timeline
Log In to Comment