File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [ `uname -s` = 'SunOS' -a "${POSIX_SHELL}" != "true" ]; then
88fi
99unset POSIX_SHELL # clear it so if we invoke other scripts, they run as ksh as well
1010
11- LEVELDB_VSN=" develop "
11+ LEVELDB_VSN=" 2.0.0 "
1212
1313SNAPPY_VSN=" 1.0.4"
1414
Original file line number Diff line number Diff line change @@ -548,7 +548,10 @@ ItrObject::~ItrObject()
548548 ReleaseReuseMove ();
549549
550550 if (NULL !=itr_ref_env)
551+ {
551552 enif_free_env (itr_ref_env);
553+ itr_ref_env=NULL ;
554+ } // if
552555
553556 if (NULL !=m_DbPtr.get ())
554557 m_DbPtr->RemoveReference (this );
@@ -568,14 +571,6 @@ ItrObject::Shutdown()
568571 // release when move object destructs)
569572 ReleaseReuseMove ();
570573
571- // only need this to create new Move objects,
572- // get rid of it early
573- if (NULL !=itr_ref_env)
574- {
575- enif_free_env (itr_ref_env);
576- itr_ref_env=NULL ;
577- } // if
578-
579574 // ItrObject and m_Iter each hold pointers to other, release ours
580575 m_Iter.assign (NULL );
581576
You can’t perform that action at this time.
0 commit comments