annotate accumulator.h @ 601:82d23418d867

Fix some fd leaks in the command-line binary Strictly speaking, they're not really leaks, because the only codepath that suffers from these leaks exits immediately afterwards. On the other hand, this fix makes valgrind on e.g. tests/0025 happier, going from 5 errors to none.
author mas01cr
date Fri, 14 Aug 2009 16:39:32 +0000
parents 342822c2d49a
children
rev   line source
mas01cr@498 1 #ifndef ACCUMULATOR_H
mas01cr@498 2 #define ACCUMULATOR_H
mas01cr@498 3
mas01cr@498 4 class Accumulator {
mas01cr@498 5 public:
mas01cr@498 6 virtual ~Accumulator() {};
mas01cr@498 7 virtual void add_point(adb_result_t *r) = 0;
mas01cr@498 8 virtual adb_query_results_t *get_points() = 0;
mas01cr@498 9 };
mas01cr@498 10
mas01cr@498 11 #endif