Changeset 27f6487 for global.c


Ignore:
Timestamp:
Aug 22, 2009, 12:47:44 AM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f4d4a00
Parents:
0e5afa2
git-author:
Anders Kaseorg <andersk@mit.edu> (08/21/09 23:19:56)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/22/09 00:47:44)
Message:
Consistently use owl_malloc and friends.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r0e5afa2 r27f6487  
    365365 */
    366366void owl_global_set_confdir(owl_global *g, const char *cd) {
    367   free(g->confdir);
     367  owl_free(g->confdir);
    368368  g->confdir = owl_strdup(cd);
    369   free(g->startupfile);
     369  owl_free(g->startupfile);
    370370  g->startupfile = owl_sprintf("%s/startup", cd);
    371371}
Note: See TracChangeset for help on using the changeset viewer.