#8372 NORM 8.2.0 (: Remove numpy usage from the shell
Zarro Boogs per Child
bugtracker at laptop.org
Tue Sep 9 15:42:33 EDT 2008
#8372: Remove numpy usage from the shell
----------------------------+-----------------------------------------------
Reporter: marco | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 8.2.0 (was Update.2)
Component: not assigned | Version: not specified
Resolution: | Keywords: r?
Next_action: review | Verified: 0
Blockedby: | Blocking:
----------------------------+-----------------------------------------------
Comment(by bernie):
{{{
28 void
29 sugar_grid_setup(SugarGrid *grid, gint width, gint height)
30 {
31 g_free(grid->weights);
32
33 grid->weights = g_new0(guchar, width * height);
}}}
Why the g_free() on (possibly) uninitialized memory?
--
Ticket URL: <http://dev.laptop.org/ticket/8372#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list