Changeset 922f589


Ignore:
Timestamp:
May 24, 2010, 2:52:14 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
89ce405
Parents:
9e88fa7
git-author:
David Benjamin <davidben@mit.edu> (05/16/10 16:38:28)
git-committer:
David Benjamin <davidben@mit.edu> (05/24/10 14:52:14)
Message:
Free paths to Zephyr dot-files when non-existant

Signed-off-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r3687413 r922f589  
    258258
    259259  if (stat(subsfile, &statbuff) != 0) {
     260    owl_free(subsfile);
    260261    if (error_on_nofile == 1)
    261262      return -1;
     
    373374  subsfile = owl_zephyr_dotfile(".anyone", filename);
    374375
    375   if (stat(subsfile, &statbuff) == -1)
     376  if (stat(subsfile, &statbuff) == -1) {
     377    owl_free(subsfile);
    376378    return 0;
     379  }
    377380
    378381  ZResetAuthentication();
Note: See TracChangeset for help on using the changeset viewer.