Module: sip-router
Branch: master
Commit: 34ba948cdabf7139c8563e531f18c4a486b31a00
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=34ba948…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Aug 14 18:24:31 2014 +0200
parser/rr: free_rr() is expecting rr_t** parameter
- give the parameter as &r, following the commit
b40d92962b680ac29dd38ffe3c8f1aa1e39d3a97
---
parser/parse_rr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/parser/parse_rr.c b/parser/parse_rr.c
index bba0f7a..2ab5a93 100644
--- a/parser/parse_rr.c
+++ b/parser/parse_rr.c
@@ -138,7 +138,7 @@ static inline int do_parse_rr_body(char *buf, int len, rr_t **head)
}
error:
- if (r) free_rr(r);
+ if (r) free_rr(&r);
free_rr(head); /* Free any contacts created so far */
return -1;