[vhffs-dev] [1159] it now send the RIGHT pointer to g_ptr_array_remove_fast()... |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1159
Author: gradator
Date: 2008-02-17 19:12:51 +0000 (Sun, 17 Feb 2008)
Log Message:
-----------
it now send the RIGHT pointer to g_ptr_array_remove_fast()...
Modified Paths:
--------------
branches/vhffs-4.1/vhffs-fs/vhffsfs.c
Modified: branches/vhffs-4.1/vhffs-fs/vhffsfs.c
===================================================================
--- branches/vhffs-4.1/vhffs-fs/vhffsfs.c 2008-02-17 18:26:18 UTC (rev 1158)
+++ branches/vhffs-4.1/vhffs-fs/vhffsfs.c 2008-02-17 19:12:51 UTC (rev 1159)
@@ -816,8 +816,8 @@
#ifdef WITH_CHECKQUOTA_CACHE_DEBUG
printf("QUOTACACHE: DELETING: %s\n", key);
#endif
- g_ptr_array_remove_fast(vhffsfs.quotacachekeys, key);
- g_hash_table_remove(vhffsfs.quotacacheused, key);
+ g_ptr_array_remove_fast(vhffsfs.quotacachekeys, vcq->key);
+ g_hash_table_remove(vhffsfs.quotacacheused, vcq->key);
free(vcq->dq);
free(vcq->key);
free(vcq);