Skip to content
Snippets Groups Projects
Commit c342947a authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3097] Fix backspace crash sflphone-cliebnt-gnome during call transfer

parent 5fd75db9
Branches
Tags
No related merge requests found
......@@ -639,7 +639,9 @@ process_dialing(callable_obj_t * c, guint keyval, gchar * key)
if (c->_state == CALL_STATE_TRANSFERT)
{
c->_trsft_to = g_strndup (c->_trsft_to, strlen(c->_trsft_to) - 1);
// Process backspace if and only if string not NULL
if(strlen(c->_trsft_to) > 0)
c->_trsft_to = g_strndup (c->_trsft_to, strlen(c->_trsft_to) - 1);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment