[Lldb-commits] [PATCH] D18459: Fix FILE * leak in Python API

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 25 09:37:13 PDT 2016


clayborg requested changes to this revision.
clayborg added a comment.

Seems like we need to just add the following to the API:

  void
  SetImmediateOutputFile (FILE *fh, bool transfer_ownership);
  
  void
  SetImmediateErrorFile (FILE *fh, bool transfer_ownership);

This should solve our problems right? Note you must add these APIs, you can't remove or change existing ones since there are programs out there that are linking against the old API.


http://reviews.llvm.org/D18459





More information about the lldb-commits mailing list