Page MenuHomeFreeBSD

D9850.id25854.diff
No OneTemporary

D9850.id25854.diff

Index: usr.bin/last/last.c
===================================================================
--- usr.bin/last/last.c
+++ 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

Mime Type
text/plain
Expires
Wed, Apr 29, 9:33 PM (14 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32397787
Default Alt Text
D9850.id25854.diff (404 B)

Event Timeline