Fixed memory leaks

This commit is contained in:
Sansar Choinyambuu
2011-11-28 17:19:40 +01:00
committed by Andreas Steffen
parent 31b1e389ea
commit b9d6aded18
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -474,7 +474,7 @@ METHOD(pts_t, is_path_valid, bool,
private_pts_t *this, char *path, pts_error_code_t *error_code)
{
struct stat st;
*error_code = 0;
if (!stat(path, &st))