diff options
author | Robert Relyea <rrelyea@redhat.com> | 2020-04-13 15:37:43 -0700 |
---|---|---|
committer | Robert Relyea <rrelyea@redhat.com> | 2020-04-13 15:37:43 -0700 |
commit | 9510d66ec888bb19ac69b293d18260b56e5336cf (patch) | |
tree | b20e182e3388399b29a02cc19fcdb8cde56b0a01 /coreconf/config.gypi | |
parent | dc8a52a8c73e0bd35a623a3bb536be4d689e99cc (diff) | |
download | nss-hg-9510d66ec888bb19ac69b293d18260b56e5336cf.tar.gz |
Bug 1629655 ckfw needs to support temporary session objects. r=kjacobs
libckfw needs to create temporary objects whose space will to be freed after
use (rather than at token shutdown). Currently only token objects are supported
and they are allocated out of a global arena owned by the slot, so the objects
only go away when the slot is closed.
This patch sets the arena to NULL in nssCKFWObject_Create() if the object is
a session object. This tells nssCKFWObject_Create() to create a new arena
specifically for this object. That arena is stored in localArena. When the
object is destroyed, any localArena's will be freed.
Differential Revision: https://phabricator.services.mozilla.com/D70916
Diffstat (limited to 'coreconf/config.gypi')
0 files changed, 0 insertions, 0 deletions