Changeset 1081 in MondoRescue for trunk/mondo/src/common/newt-specific.c


Ignore:
Timestamp:
Jan 28, 2007, 11:20:07 PM (17 years ago)
Author:
Bruno Cornec
Message:

merge -r1078:1080 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/src/common/newt-specific.c

    r1074 r1081  
    1818
    1919#include "my-stuff.h"
     20#include "mr_mem.h"
    2021#include "mondostructures.h"
    2122#include "newt-specific.h"
     
    869870
    870871        err_log_lines =
    871             (char **) malloc(sizeof(char *) * g_noof_log_lines);
     872            (char **) mr_malloc(sizeof(char *) * g_noof_log_lines);
    872873        if (!err_log_lines) {
    873874            fatal_error("Out of memory");
     
    14911492        }
    14921493
    1493         filelist = (struct s_filelist *) malloc(sizeof(struct s_filelist));
     1494        filelist = (struct s_filelist *) mr_malloc(sizeof(struct s_filelist));
    14941495        fileListbox =
    14951496            newtListbox(2, 2, 12, NEWT_FLAG_SCROLL | NEWT_FLAG_RETURNEXIT);
Note: See TracChangeset for help on using the changeset viewer.