Fixed some autotest memory leaks.

This commit is contained in:
Jan Vidar Krey
2009-05-16 03:06:14 +02:00
parent 6e4ac1355f
commit 953db2dcbc
3 changed files with 21 additions and 1 deletions

View File

@@ -165,6 +165,8 @@ int user_manager_remove(struct hub_info* hub, struct user* user)
hub->users->shared_size -= user->limits.shared_size;
hub->users->shared_files -= user->limits.shared_files;
user->hub = 0;
return 0;
}