From 4d15501a30d78eecc5011ebdd12a7568954129cb Mon Sep 17 00:00:00 2001 From: couriersud Date: Thu, 19 Jan 2017 18:05:19 +0100 Subject: Netlist: code refactoring Make streams provide binary access only. Use putf8_reader and putf8_writer to actually access streams. Replace some char * parameters with pstring where appropriate. Minor code refactoring and move functionality were it belongs. (nw) --- src/lib/netlist/plib/pstring.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib/netlist/plib/pstring.cpp') diff --git a/src/lib/netlist/plib/pstring.cpp b/src/lib/netlist/plib/pstring.cpp index 2325e8b08c2..7d676f34c0d 100644 --- a/src/lib/netlist/plib/pstring.cpp +++ b/src/lib/netlist/plib/pstring.cpp @@ -426,7 +426,6 @@ void pstring_t::sfree(pstr_t *s) } else plib::pfree_array(reinterpret_cast(s)); - //_mm_free(((char *)s)); } } @@ -477,7 +476,6 @@ void pstring_t::sfree(pstr_t *s) if (s->m_ref_count == 0 && s != &m_zero) { plib::pfree_array(((char *)s)); - //_mm_free(((char *)s)); } } -- cgit v1.2.3-70-g09d2