Revision 30f264c2
Added by David Sorber over 9 years ago
| software/sqlite_poc/main.cc | ||
|---|---|---|
|
std::cout << "Row: " << std::setw(4) << row_index << " - ";
|
||
|
print(*row);
|
||
|
++row_index;
|
||
|
delete row;
|
||
|
}
|
||
|
|
||
|
delete results;
|
||
|
}
|
||
|
|
||
|
return 0;
|
||
Correcting memory leak cause by not calling sqlite3_finalize.