]> git.llucax.com Git - software/dgc/cdgc.git/blobdiff - rt/gc/cdgc/gc.d
opts: Fix parsing a single boolean option without args
[software/dgc/cdgc.git] / rt / gc / cdgc / gc.d
index b5635f9696f01914101c26c958c4a61295164203..f5e088c54cd04351d0de17f8b0c26d9f0bab453f 100644 (file)
@@ -334,7 +334,7 @@ class GC
 
         stats.malloc_started(size, attrs, pm_bitmask);
         scope (exit)
 
         stats.malloc_started(size, attrs, pm_bitmask);
         scope (exit)
-            stats.malloc_finished();
+            stats.malloc_finished(p);
 
         void *p = null;
         Bins bin;
 
         void *p = null;
         Bins bin;