Author :
Peter Hutterer
Date :
2021-03-19 09:46:15
Hash :a50890b1 Message :registry: simplify strdup() error handling
strdup() is the least likely call to fail here, let's move it to the bottom so
we don't need to worry about the allocated string.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>