Update portfolio_util.cpp
authorKshitij Bansal <kshitij@cs.nyu.edu>
Tue, 1 Jul 2014 23:09:07 +0000 (19:09 -0400)
committerKshitij Bansal <kshitij@cs.nyu.edu>
Tue, 1 Jul 2014 23:09:07 +0000 (19:09 -0400)
src/main/portfolio_util.cpp

index d4ef11a3a69ffaef4b2f924e3b0790de534d5483..7a4beb0d0707c57c25f7483285387009db5c5604 100644 (file)
@@ -80,7 +80,7 @@ vector<Options> parseThreadSpecificOptions(Options opts)
         }
       }
       free(targv[0]);
-      delete targv;
+      delete [] targv;
       free(tbuf);
     }
   }