mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: use std::string for hashfile_name
One more free() removed. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ec92cff92c
commit
5805b14734
3 changed files with 6 additions and 13 deletions
|
|
@ -63,9 +63,7 @@ void print_files()
|
|||
printf("Unable to get local git directory\n");
|
||||
}
|
||||
printf("Cloud URL: %s\n", filename->c_str());
|
||||
char *tmp = hashfile_name_string();
|
||||
printf("Image filename table: %s\n", tmp);
|
||||
free(tmp);
|
||||
printf("Image filename table: %s\n", hashfile_name().c_str());
|
||||
}
|
||||
|
||||
static void print_help()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue