Skip to content

Commit

Permalink
Graph / AudioGraph libs: fix for crashes caused by errantly trying to…
Browse files Browse the repository at this point in the history
… assign NULL to a TTObject
  • Loading branch information
timothy place committed Mar 24, 2014
1 parent 7ad381b commit 9ee5851
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion AudioGraph/library/source/TTAudioGraphSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ TTAudioGraphSource::~TTAudioGraphSource()

mSourceObject = NULL;
mOutletNumber = 0;
mCallbackHandler = NULL;
}


Expand Down
1 change: 0 additions & 1 deletion Graph/library/includes/TTGraphDestination.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ class TTGRAPH_EXPORT TTGraphDestination {
{
mDestinationObject = NULL;
mInletNumber = 0;
mCallbackHandler = NULL;
mOwner = NULL;

// TODO: We're probably leaking memory here, because mCallbackHandler is potentially never freed...
Expand Down
1 change: 0 additions & 1 deletion Graph/library/source/TTGraphDestination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ TTGraphDestination::~TTGraphDestination()

mDestinationObject = NULL;
mInletNumber = 0;
mCallbackHandler = NULL;
}


Expand Down
1 change: 0 additions & 1 deletion Graph/library/source/TTGraphSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ TTGraphSource::~TTGraphSource()

mSourceObject = NULL;
mOutletNumber = 0;
mCallbackHandler = NULL;
}


Expand Down

0 comments on commit 9ee5851

Please sign in to comment.