]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
whatcha talking bout
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 30 Oct 2008 16:40:54 +0000 (16:40 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 30 Oct 2008 16:40:54 +0000 (16:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10204 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_presence.c

index 819b914dd0b91dcdf06e5fcacf63ec3206e7561f..c17af3513fc82d9aec24c1fb4bdd069d76145b7f 100644 (file)
@@ -1215,7 +1215,7 @@ static int sofia_presence_mwi_callback2(void *pArg, int argc, char **argv, char
                        }
                }
                switch_url_decode(route);
-               route_uri = strdup(route);
+               route_uri = route;
                if ((p = strchr(route_uri, ','))) {
                        while (*(p-1) == ' ') {
                                p--;
@@ -1240,7 +1240,6 @@ static int sofia_presence_mwi_callback2(void *pArg, int argc, char **argv, char
        switch_safe_free(contact);
        switch_safe_free(id);
        switch_safe_free(route);
-       switch_safe_free(route_uri);
        if (ext_profile) {
                sofia_glue_release_profile(ext_profile);
        }