Make URI structures reference-counted.

This commit is contained in:
Michael Brown
2007-05-28 17:35:15 +00:00
parent bc694ec768
commit 656485c1f1
5 changed files with 28 additions and 15 deletions

View File

@@ -35,7 +35,7 @@
*
* Splits a URI into its component parts. The return URI structure is
* dynamically allocated and must eventually be freed by calling
* free_uri().
* uri_put().
*/
struct uri * parse_uri ( const char *uri_string ) {
struct uri *uri;