Changeset 118 for trunk/mondo/mondo


Ignore:
Timestamp:
Nov 9, 2005, 12:08:29 AM (14 years ago)
Author:
bcornec
Message:

g_tmpfs_mountpt can not been used with asprintf yet as it's a global variable without creating memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/mondorestore/mondo-restore.c

    r114 r118  
    32503250             call_program_and_get_last_line_of_output
    32513251             ("which mondorestore"));
    3252     asprintf(&g_tmpfs_mountpt, "/tmp/tmpfs");
     3252    sprintf(g_tmpfs_mountpt, "/tmp/tmpfs");
    32533253    make_hole_for_dir(g_tmpfs_mountpt);
    32543254    g_current_media_number = 1; // precaution
Note: See TracChangeset for help on using the changeset viewer.