diff options
author | Dmitry Podgorny <pasis.ua@gmail.com> | 2013-08-25 14:52:25 +0300 |
---|---|---|
committer | Dmitry Podgorny <pasis.ua@gmail.com> | 2013-08-25 14:52:25 +0300 |
commit | c7ec06ff65f6b49f264d3a3a21c64615c9c1f090 (patch) | |
tree | 98f18821de099da5b914e8e7392bd8a8df1c61df /src/xmpp | |
parent | d6c90ac7ca8bd3e32e353b36e1eab54ccabd5eb9 (diff) | |
download | profani-tty-c7ec06ff65f6b49f264d3a3a21c64615c9c1f090.tar.gz |
removed strdup from g_string_append
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/roster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/roster.c b/src/xmpp/roster.c index ed72d502..b31a2725 100644 --- a/src/xmpp/roster.c +++ b/src/xmpp/roster.c @@ -567,7 +567,7 @@ _roster_handle_push(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, while (resources != NULL) { GString *fulljid = g_string_new(strdup(barejid)); g_string_append(fulljid, "/"); - g_string_append(fulljid, strdup(resources->data)); + g_string_append(fulljid, resources->data); autocomplete_remove(fulljid_ac, fulljid->str); g_string_free(fulljid, TRUE); resources = g_list_next(resources); |