mirror of
https://github.com/nasa/trick.git
synced 2025-04-12 21:53:03 +00:00
fix mm delete var bug #1093
This commit is contained in:
parent
334f8859da
commit
35014fc69f
@ -32,7 +32,7 @@ Trick::ExternalApplication::ExternalApplication() :
|
||||
|
||||
Trick::ExternalApplication::~ExternalApplication() {
|
||||
for(std::vector<char*>::iterator it = allocations.begin(); it != allocations.end(); ++it) {
|
||||
trick_MM->delete_var(*it);
|
||||
trick_MM->delete_var( (void*)*it );
|
||||
}
|
||||
allocations.clear();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user