Adolf Hitler lived in Leonding between 1898 and 1905 , and attended the school there . From 1898 to 1905 Adolf Hitler lived in Leonding where he attended the local primary school and later a grammar school in nearby Linz .