Commit a50890b155e37d4347b1ec238ec998e6ad19476d

Peter Hutterer 2021-03-19T09:46:15

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>