Skip to content
Snippets Groups Projects
Commit d6bfbe65 authored by Jonas Fonseca's avatar Jonas Fonseca
Browse files

[#2582] dbus_codec_list: initialize array variable to NULL

... in case the dbus call will fail. Else it will cause a segfault.
parent 61aa119b
No related branches found
No related tags found
No related merge requests found
......@@ -1195,7 +1195,7 @@ dbus_codec_list()
{
GError *error = NULL;
gchar** array;
gchar** array = NULL;
org_sflphone_SFLphone_ConfigurationManager_get_codec_list (
configurationManagerProxy,
&array,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment