Improved object lifecycle tracking and fix leaks.
diff --git a/rsProgram.cpp b/rsProgram.cpp
index 051483f..5f2a609 100644
--- a/rsProgram.cpp
+++ b/rsProgram.cpp
@@ -23,10 +23,11 @@
 
 Program::Program(Context *rsc, Element *in, Element *out) : ObjectBase(rsc)
 {
+    mAllocFile = __FILE__;
+    mAllocLine = __LINE__;
+
     mElementIn.set(in);
     mElementOut.set(out);
-
-
 }
 
 Program::~Program()