added c_driver example - no memory leaks