|
From: Kentaro F. <fu...@me...> - 2008-10-29 05:07:05
|
A memory leak fix of lo_url_get_path() follows.
I was going to add a new test to detect this leak (with a memory leak checker)
and found another issue of the URI form of OSC addressing for UNIX pipe. I'll
report it in another mail.
diff --git a/src/address.c b/src/address.c
index 44a801e..d1a5287 100644
--- a/src/address.c
+++ b/src/address.c
@@ -319,6 +319,8 @@ char *lo_url_get_path(const char *url)
}
/* doesnt look like an OSC URL with port number and path*/
+ free(path);
+
return NULL;
}
--
Kentaro Fukuchi
|