Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't leak memory in benchmark
  • Loading branch information
Aaron Kennedy committed Jun 17, 2011
1 parent b0183be commit 658ca66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/benchmarks/declarative/binding/tst_binding.cpp
Expand Up @@ -186,7 +186,8 @@ void tst_binding::creation()
COMPONENT(file, binding);

QBENCHMARK {
c.create();
QObject *o = c.create();
delete o;
}
}

Expand Down

0 comments on commit 658ca66

Please sign in to comment.