diff options
Diffstat (limited to 'json-glib/json-path.c')
| -rw-r--r-- | json-glib/json-path.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/json-glib/json-path.c b/json-glib/json-path.c index ed36ac1..014abeb 100644 --- a/json-glib/json-path.c +++ b/json-glib/json-path.c @@ -419,6 +419,8 @@ json_path_compile (JsonPath *path, PathNode *root = NULL; GList *nodes; + g_return_val_if_fail (expression != NULL, FALSE); + p = expression; while (*p != '\0') |
