I have a mixed C/C++ program. It contains a flex/bison parser which targets C, while the remainder is C++.
Being C, the generated parser and scanner manage their me
You don't have to worry about any memory allocated by the generated code of Flex or Bison; they take care of it themselves. For the rest, just use new and delete. (And Flex and Bison are capable of generating C++, of a sort. In general, I've found running the output through a simple script, using sed has been sufficient to make their output truly C++ compatible.)