Example: lrd_free_connection

In the following example, lrd_free_connection frees the allocated connection, Con1, after closing the connection with lrd_close_connection.

lrd_close_connection( &Con1, 0, 0);
lrd_free_connection( &Con1, 0 /*Unused*/, 0 );
lrd_close_context( &Ctx1, 0, 0);
lrd_end(0);