Permalink
Browse files

TS-1475 Memory leak. Coverity: 1226155

  • Loading branch information...
zwoop committed Jul 15, 2014
1 parent 9e8b80c commit c5f65bf6dc56d6f80eef714dcc66bffe4852e613
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmd/traffic_line/traffic_line.cc
@@ -74,7 +74,7 @@ struct VIA
static VIA *
detailViaLookup(char flag)
{
- VIA * viaTable = new VIA();
+ VIA * viaTable = NULL;
//Detailed via codes after ":"
switch (flag) {

0 comments on commit c5f65bf

Please sign in to comment.