resource-native_example: Valgrind reminds of forgotten res_set