Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 238554 | Differences between
and this patch

Collapse All | Expand All

(-)ekiga-3.2.0-old/src/gui/assistant.cpp (-1 / +1 lines)
Lines 1299-1305 Link Here
1299
  gchar **array = NULL;
1299
  gchar **array = NULL;
1300
  unsigned i;
1300
  unsigned i;
1301
1301
1302
  array = (gchar**) malloc (sizeof(gchar*) * (list.size() + 1));
1302
  array = (gchar**) g_malloc (sizeof(gchar*) * (list.size() + 1));
1303
  for (i = 0; i < list.size(); i++)
1303
  for (i = 0; i < list.size(); i++)
1304
    array[i] = (gchar*) list[i].c_str();
1304
    array[i] = (gchar*) list[i].c_str();
1305
  array[i] = NULL;
1305
  array[i] = NULL;
(-)ekiga-3.2.0-old/src/gui/preferences.cpp (-1 / +1 lines)
Lines 862-868 Link Here
862
  gchar **array = NULL;
862
  gchar **array = NULL;
863
  unsigned i;
863
  unsigned i;
864
864
865
  array = (gchar**) malloc (sizeof(gchar*) * (list.size() + 1));
865
  array = (gchar**) g_malloc (sizeof(gchar*) * (list.size() + 1));
866
  for (i = 0; i < list.size(); i++)
866
  for (i = 0; i < list.size(); i++)
867
    array[i] = (gchar*) list[i].c_str();
867
    array[i] = (gchar*) list[i].c_str();
868
  array[i] = NULL;
868
  array[i] = NULL;

Return to bug 238554