Example of bad written library initialization and deinitialization.