Ticket #1857 (new defect) — at Version 1

Opened 14 years ago

Last modified 14 years ago

fixing some g_malloc callsNreturn

Reported by: vit_r Owned by: vit_r
Priority: major Milestone: 4.7.0
Component: mc-core Version: 4.7.0-pre4
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description (last modified by andrew_b) (diff)

It's only pointing to start with.
For check of all calls MC-style-guider is wanted.


Change History

Changed 14 years ago by vit_r

comment:1 Changed 14 years ago by andrew_b

  • Description modified (diff)

g_malloc() never returns NULL and aborts program on failure. g_try_malloc() should be used instead.

Note: See TracTickets for help on using tickets.