diff --git a/src/Routes/RouteRegister.c b/src/Routes/RouteRegister.c index d23e3f2..838a989 100644 --- a/src/Routes/RouteRegister.c +++ b/src/Routes/RouteRegister.c @@ -47,7 +47,7 @@ ROUTE_IMPL(RouteRegister, args) char *initialDeviceDisplayName = NULL; int refreshToken = 0; int inhibitLogin = 0; - char *deviceId; + char *deviceId = NULL; if (MATRIX_PATH_PARTS(args->path) == 0) {