comparison src/readpst.c @ 344:aedcf979f439

fix unchecked errors found by cppcheck
author Carl Byington <carl@five-ten-sg.com>
date Mon, 09 Mar 2015 08:49:47 -0700
parents c507af52515a
children a8577226f7a9
comparison
equal deleted inserted replaced
343:2079fc3460c2 344:aedcf979f439
933 y = errno; 933 y = errno;
934 DIE(("mk_separate_dir: unlink returned error on file %s: %s\n", dirent->d_name, strerror(y))); 934 DIE(("mk_separate_dir: unlink returned error on file %s: %s\n", dirent->d_name, strerror(y)));
935 } 935 }
936 } 936 }
937 } 937 }
938 closedir(sdir); // cppcheck detected leak
938 } 939 }
939 #endif 940 #endif
940 } 941 }
941 942
942 // we don't return a filename here cause it isn't necessary. 943 // we don't return a filename here cause it isn't necessary.