diff 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
line wrap: on
line diff
--- a/src/readpst.c	Fri Dec 27 09:01:31 2013 -0800
+++ b/src/readpst.c	Mon Mar 09 08:49:47 2015 -0700
@@ -935,6 +935,7 @@
                         }
                     }
             }
+            closedir(sdir);     // cppcheck detected leak
         }
 #endif
     }