/* * Terminate global file manager */ void timeshift_term ( void ) { timeshift_filemgr_term(); free(timeshift_conf.path); timeshift_conf.path = NULL; memoryinfo_unregister(×hift_memoryinfo); memoryinfo_unregister(×hift_memoryinfo_ram); }
void streaming_done(void) { pthread_mutex_lock(&global_lock); memoryinfo_unregister(&streaming_msg_memoryinfo); pthread_mutex_unlock(&global_lock); }