forgot calling free in kk_widget_free function
check for NULL after calloc call
pedantic check of number of bytes read