Module: sip-router
Branch: andrei/tcp_tls_changes
Commit: 8a5f9abd13a9339ea9e4011676a041b6fb0b5b90
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8a5f9abd13a9339ea9e4011676a041b6fb0b5b90

Author: Andrei Pelinescu-Onciul <[email protected]>
Committer: Andrei Pelinescu-Onciul <[email protected]>
Date:   Fri May 28 12:33:33 2010 +0200

db_flatstore: updated get_abs_pathname use

Use pkg_free() now for freeing the result of get_abs_pathname().

---

 modules/db_flatstore/flat_uri.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/db_flatstore/flat_uri.c b/modules/db_flatstore/flat_uri.c
index 05005f3..7c35f95 100644
--- a/modules/db_flatstore/flat_uri.c
+++ b/modules/db_flatstore/flat_uri.c
@@ -70,7 +70,7 @@ int flat_uri(db_uri_t* uri)
 
  error:
        if (furi) {
-               if (furi->path.s) free(furi->path.s);
+               if (furi->path.s) pkg_free(furi->path.s);
                db_drv_free(&furi->drv);
                pkg_free(furi);
        }


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to