mc/lib/mcconfig
Andrew Borodin 536fb676d8 (vfs_path_free): add 2nd parameter...
...to free or not to free the string representation
of vfs_path_t object.

It allows to get rid of string duplication in following cases:

vfs_path_t *vpath;
char *path;
...
vpath = vfs_path_from_str (...);
path = g_strdup (vfs_path_as_str (vpath));
vfs_path_free (vpath);

Now we can write:

vfs_path_t *vpath;
char *path;
...
vpath = vfs_path_from_str (...);
path = vfs_path_free (vpath, FALSE);

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-03-14 19:52:39 +03:00
..
common.c (vfs_path_free): add 2nd parameter... 2021-03-14 19:52:39 +03:00
get.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
history.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
Makefile.am Move history operation routines from lib/widget/history.c to lib/mcconfig/history.c. 2019-09-01 19:41:12 +03:00
paths.c Define macros for bashrc, ashrc, and inputrc files. 2021-03-14 19:52:38 +03:00
set.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00