[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 936
Author: gradator
Date: 2007-09-21 12:56:52 +0000 (Fri, 21 Sep 2007)
Log Message:
-----------
Hum... I am a poor lonesome developer
Modified Paths:
--------------
trunk/vhffs-fs/vhffsfs.c
Modified: trunk/vhffs-fs/vhffsfs.c
===================================================================
--- trunk/vhffs-fs/vhffsfs.c 2007-09-21 12:33:55 UTC (rev 935)
+++ trunk/vhffs-fs/vhffsfs.c 2007-09-21 12:56:52 UTC (rev 936)
@@ -1075,8 +1075,10 @@
printf("vhffsfs: quota: %s\n", strerror(errno));
return 0;
}
-
- if(dq->dqb_curspace > dq->dqb_bhardlimit || dq->dqb_curinodes > dq->dqb_ihardlimit) return 1;
+ else if(dq->dqb_curspace > dq->dqb_bhardlimit || dq->dqb_curinodes > dq->dqb_ihardlimit) {
+ free(dq);
+ return 1;
+ }
return 0;
}
#endif