-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Memory leak in Python target fixed (#246)
* memory leak fix * Update core/lf_token.c Co-authored-by: Edward A. Lee <eal@eecs.berkeley.edu> * Update python_port.c It was incorporated to assist with debugging. * Update python/lib/python_port.c Co-authored-by: Edward A. Lee <eal@eecs.berkeley.edu> * Update python/lib/python_port.c Co-authored-by: Edward A. Lee <eal@eecs.berkeley.edu> * Update core/lf_token.c Co-authored-by: Marten Lohstroh <marten@berkeley.edu> * Update core/lf_token.c Co-authored-by: Marten Lohstroh <marten@berkeley.edu> * Update lf_token.c * Update python_port.c * Added back Py_INCREF(val) and define a new destructor for output port * Add python count decrement to the header file The function is called by the deserializer during federated execution. * Fixed SegFault during unfederated execution This commit fixes segfault for unfederated execution, but leads to memory leak during federated execution. * Minor cleanup. --------- Co-authored-by: Edward A. Lee <eal@eecs.berkeley.edu> Co-authored-by: Marten Lohstroh <marten@berkeley.edu> Co-authored-by: Peter Donovan <peterdonovan@berkeley.edu>
- Loading branch information
1 parent
9e9f427
commit 294fbb2
Showing
3 changed files
with
31 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters