Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
rinri
/
slstatus
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
fixed memleak in datetime()
master
Aaron Marcher
8 lat temu
committed by
Aaron Marcher (drkhsh)
rodzic
a8d5bde6a5
commit
086a70cde0
1 zmienionych plików
z
1 dodań
i
0 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+1
-0
slstatus.c
+ 1
- 0
slstatus.c
Wyświetl plik
@@ -160,6 +160,7 @@ datetime(const char *timeformat)
setlocale(LC_TIME, "");
if(!strftime(buf, bufsize, timeformat, localtime(&tm))) {
setlocale(LC_TIME, "C");
free(buf);
fprintf(stderr, "Strftime failed.\n");
return smprintf("n/a");
}
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz