Changeset 6758c74


Ignore:
Timestamp:
Jul 17, 2010, 7:26:58 AM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
release-1.6
Children:
ed380eb
Parents:
a484b3e
git-author:
David Benjamin <davidben@mit.edu> (05/16/10 16:38:28)
git-committer:
Nelson Elhage <nelhage@mit.edu> (07/17/10 07:26:58)
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

    rf25812b r6758c74  
    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.