about summary refs log tree commit diff stats
path: root/035call_ingredient.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-28 00:26:52 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-28 00:26:52 -0800
commitb99caa9737e8f54d28527b4df28138f48e273c90 (patch)
tree448212546008f2a4d1eb2d03149dfb603fb5a031 /035call_ingredient.cc
parentc561f6a91926cb3c9c22f483b94ca40a01e6a9c0 (diff)
downloadmu-b99caa9737e8f54d28527b4df28138f48e273c90.tar.gz
2488 - fix memory leaks from 2484
Diffstat (limited to '035call_ingredient.cc')
-rw-r--r--035call_ingredient.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/035call_ingredient.cc b/035call_ingredient.cc
index 2f28c8f7..89d6507d 100644
--- a/035call_ingredient.cc
+++ b/035call_ingredient.cc
@@ -33,7 +33,6 @@ for (long long int i = 0; i < SIZE(ingredients); ++i) {
   reagent ingredient = call_instruction.ingredients.at(i);
   canonize_type(ingredient);
   current_call().ingredients.push_back(ingredient);
-  ingredient.type = NULL;  // release long-lived pointer
 }
 
 :(before "End Primitive Recipe Declarations")