diff options
Diffstat (limited to 'decode11.c')
-rw-r--r-- | decode11.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -107,7 +107,9 @@ NewQEntry ( if (FreeQEntries == NULL) { /* create new queue entry */ - p = (struct QueueEntry *) Malloc ((long)(sizeof (*p))); + p = malloc (sizeof (*p)); + if (p == NULL) + panic("unable to allocate new QueueEntry"); } else { |