From c4cb38f2d2df328aabd9f926a925872f9996c5cb Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 2 Nov 2007 10:43:40 -0700 Subject: * fix cli backend memory leak. * export {copy,free}_path(). --- src/cli_val.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cli_val.h') diff --git a/src/cli_val.h b/src/cli_val.h index 7d57456..e147d4c 100644 --- a/src/cli_val.h +++ b/src/cli_val.h @@ -187,6 +187,9 @@ extern char *type_to_name(vtw_type_e type); extern boolean execute_list(vtw_node *cur, vtw_def *def); extern void touch_dir(const char *dp); +extern void copy_path(vtw_path *to, vtw_path *from); +extern void free_path(vtw_path *path); + void mark_paths(vtw_mark *markp); void restore_paths(vtw_mark *markp); -- cgit v1.2.3