summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4458abf)
readfile() can fail if the agefile is not readable. Make sure free()
does not free an ininitialized string.
Signed-off-by: Christian Hesse <mail@eworm.de>
{
time_t result;
size_t size;
{
time_t result;
size_t size;
struct strbuf date_buf = STRBUF_INIT;
if (readfile(path, &buf, &size)) {
struct strbuf date_buf = STRBUF_INIT;
if (readfile(path, &buf, &size)) {