Pass correct data to dl_iterate_phdr.
authorMilian Wolff <mail@milianw.de>
Wed, 24 Feb 2016 01:40:53 +0000 (02:40 +0100)
committerMilian Wolff <mail@milianw.de>
Wed, 24 Feb 2016 01:40:58 +0000 (02:40 +0100)
I wonder why this didn't crash before...

libheaptrack.cpp

index dd1ad5c..0a46ee1 100644 (file)
@@ -412,7 +412,7 @@ private:
             writeError();
             return;
         }
-        dl_iterate_phdr(&dl_iterate_phdr_callback, s_data->out);
+        dl_iterate_phdr(&dl_iterate_phdr_callback, this);
         s_data->moduleCacheDirty = false;
     }