interplane.Get Omega
Read in your language

sqlite

[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.

Brought by drakestapleton

branch master Branches Tags History

sqlite / test / c / malloc1.c

14 lines · 213 bytes Raw Blame History
1
2#include "sqlite3.h"
3#include <stdio.h>
4
5int main(void) {
6 void *p = 0;
7#ifdef SQLITE_OMIT_AUTOINIT
8 sqlite3_initialize();
9#endif
10 p = sqlite3_malloc(32);
11 if( !p ) return 1;
12 sqlite3_free(p);
13 return 0;
14}