summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
979db79)
Coverity-id: 13939
Signed-off-by: Christian Hesse <mail@eworm.de>
slash = strrchr(fullpath, '/');
if (slash)
*(slash + 1) = 0;
slash = strrchr(fullpath, '/');
if (slash)
*(slash + 1) = 0;
+ else {
+ free(fullpath);
html("<li>");
cgit_plain_link("../", NULL, NULL, ctx.qry.head, ctx.qry.sha1,
fullpath);
html("<li>");
cgit_plain_link("../", NULL, NULL, ctx.qry.head, ctx.qry.sha1,
fullpath);