talloc: add talloc_set_abort_fn()
[Samba/gbeck.git] / examples / libsmbclient / testctx.c
blob8820bc8342ed717f3c9f988fce41104f8134015d
1 #include <libsmbclient.h>
3 void create_and_destroy_context (void)
5 SMBCCTX *ctx;
6 ctx = smbc_new_context ();
7 smbc_init_context (ctx);
9 smbc_free_context (ctx, 1);
12 int main (int argc, char **argv)
14 create_and_destroy_context ();
15 create_and_destroy_context ();
16 return 0;