|
From: | Daniele Forsi |
Subject: | g_malloc / g_strdup in xgnokii_lowlevel.c |
Date: | Sat, 18 Feb 2006 00:00:20 +0100 |
User-agent: | Mozilla Thunderbird 1.5 (X11/20051201) |
at lines 175-178 of xgnokii_lowlevel.c in InitModelInf() it seems to me that the two g_malloc's have no purpose phoneMonitor.phone.version = g_malloc(sizeof(gdat.revision)); phoneMonitor.phone.revision = g_malloc(sizeof(gdat.revision)); phoneMonitor.phone.version = g_strdup(gdat.revision); phoneMonitor.phone.revision = g_strdup(gdat.revision); -- Daniele
[Prev in Thread] | Current Thread | [Next in Thread] |