Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 /*
2 ******************************************************************************
3 * Copyright (C) 1997-2011, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 ******************************************************************************
6 * Date Name Description
7 * 03/22/00 aliu Creation.
8 * 07/06/01 aliu Modified to support int32_t keys on
9 * platforms with sizeof(void*) < 32.
10 ******************************************************************************
11 */
13 #include "hash.h"
15 /**
16 * Deleter for Hashtable objects.
17 */
18 U_CAPI void U_EXPORT2
19 uhash_deleteHashtable(void *obj) {
20 U_NAMESPACE_USE
21 delete (Hashtable*) obj;
22 }
24 //eof