ui-blob: fix resource leak: free before return
Coverity-id: 13943 Signed-off-by: Christian Hesse <mail@eworm.de>
Dieser Commit ist enthalten in:
Ursprung
08a2b818f2
Commit
30802126d4
@ -99,6 +99,7 @@ int cgit_print_file(char *path, const char *head, int file_only)
|
||||
return -1;
|
||||
buf[size] = '\0';
|
||||
html_raw(buf, size);
|
||||
free(buf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren