diff options
author | Stefano Karapetsas <[email protected]> | 2013-09-26 01:29:31 -0700 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-09-26 01:29:31 -0700 |
commit | a43a1d9f36f393b64ef965e033757f70c201141c (patch) | |
tree | a78356ec3ec409dcee5a3c98938c1d800c463b20 /plugins/filebrowser/pluma-file-browser-store.c | |
parent | dfe505522c630863438c3649e2a028f14e1138fa (diff) | |
parent | 66585e2be5a1cd936abb27db318deba4bfc4a453 (diff) | |
download | pluma-a43a1d9f36f393b64ef965e033757f70c201141c.tar.bz2 pluma-a43a1d9f36f393b64ef965e033757f70c201141c.tar.xz |
Merge pull request #29 from kallisti5/master
filemanager: Add assertion checks to prevent dereferencing ptrs
Diffstat (limited to 'plugins/filebrowser/pluma-file-browser-store.c')
-rw-r--r-- | plugins/filebrowser/pluma-file-browser-store.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/filebrowser/pluma-file-browser-store.c b/plugins/filebrowser/pluma-file-browser-store.c index 6f611105..ba45feff 100644 --- a/plugins/filebrowser/pluma-file-browser-store.c +++ b/plugins/filebrowser/pluma-file-browser-store.c @@ -2480,6 +2480,8 @@ set_virtual_root_from_node (PlumaFileBrowserStore * model, GSList *copy; GtkTreePath *empty = NULL; + g_assert (node != NULL); + prev = node; next = prev->parent; |