summaryrefslogtreecommitdiff
path: root/desktop/gui_factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gui_factory.c')
-rw-r--r--desktop/gui_factory.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c
index b3a27fea2..fd0867491 100644
--- a/desktop/gui_factory.c
+++ b/desktop/gui_factory.c
@@ -506,6 +506,15 @@ static nserror verify_file_register(struct gui_file_table *gft)
if (gft->basename == NULL) {
return NSERROR_BAD_PARAMETER;
}
+ if (gft->nsurl_to_path == NULL) {
+ return NSERROR_BAD_PARAMETER;
+ }
+ if (gft->path_to_nsurl == NULL) {
+ return NSERROR_BAD_PARAMETER;
+ }
+ if (gft->mkdir_all == NULL) {
+ return NSERROR_BAD_PARAMETER;
+ }
return NSERROR_OK;
}