mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
memory leak fix..
svn path=/icecast/trunk/icecast/; revision=9732
This commit is contained in:
parent
03c74becbe
commit
30ce5c5ba9
@ -89,7 +89,7 @@ int get_clf_time (char *buffer, unsigned len, struct tm *t)
|
|||||||
thetime = localtime(&now);
|
thetime = localtime(&now);
|
||||||
strftime (buffer, len-7, "%d/%b/%Y:%H:%M:%S", thetime);
|
strftime (buffer, len-7, "%d/%b/%Y:%H:%M:%S", thetime);
|
||||||
strcat(buffer, timezone_string);
|
strcat(buffer, timezone_string);
|
||||||
|
free(timezone_string);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user