Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142069288
D9850.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
419 B
Referenced Files
None
Subscribers
None
D9850.diff
View Options
Index: head/usr.bin/last/last.c
===================================================================
--- head/usr.bin/last/last.c
+++ head/usr.bin/last/last.c
@@ -243,7 +243,7 @@
/* Display them in reverse order. */
while (amount > 0)
doentry(&buf[--amount]);
-
+ free(buf);
tm = localtime(&t);
(void) strftime(ct, sizeof(ct), "%+", tm);
printf("\n%s begins %s\n", ((file == NULL) ? "utx.log" : file), ct);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 16, 5:52 PM (15 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27664523
Default Alt Text
D9850.diff (419 B)
Attached To
Mode
D9850: Fix 'last' memory leak
Attached
Detach File
Event Timeline
Log In to Comment