]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - idlcomp/namespace.cc
Release lang_priv.
[polintos/scott/priv.git] / idlcomp / namespace.cc
index 0a79743194b3cc6fd67f840c21645815fb20a17d..b681d91736ae76c2637d0145e500f8fc97cf8753 100644 (file)
@@ -273,6 +273,9 @@ void NameSpace::add_import(Symbol *sym, const char *filename)
 
 Symbol::~Symbol()
 {
+       if (lang_priv)
+               lang_priv->release();
+
        if (ns && !ns->dying) {
                try {
                        ns->del(this);