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
..
2021-03-14 19:48:59 +03:00
2021-03-14 19:48:59 +03:00
2021-03-14 19:52:39 +03:00
2021-03-14 19:48:59 +03:00
2020-12-31 16:26:46 +03:00
2020-10-13 16:34:55 +03:00
2019-03-02 11:24:07 +03:00
2021-03-14 19:52:39 +03:00
2020-03-08 20:17:29 +03:00