Since xdg_user_dirs_lookup () is intended to be used by others,
it would be good to have a doc comment for it. At the very least,
it must say that the returned string is newly allocated and needs
to be freed with free() and it should list the supported values
for the type parameter.
Fixed in xdg-user-dirs-0.6-1.fc7