]> git.pld-linux.org Git - packages/gnome-vfs2.git/blame - gnome-vfs2-df_not_null.patch
- bugfixes:
[packages/gnome-vfs2.git] / gnome-vfs2-df_not_null.patch
CommitLineData
761092ab 1===================================================================
2RCS file: /cvs/gnome/gnome-vfs/programs/gnomevfs-df.c,v
3retrieving revision 1.1
4retrieving revision 1.1.2.1
5diff -u -r1.1 -r1.1.2.1
6--- gnomevfs-df.c 2006/03/30 09:13:13 1.1
7+++ gnome-vfs/programs/gnomevfs-df.c 2006/05/14 10:25:38 1.1.2.1
8@@ -79,6 +79,11 @@
9 int i;
10
11 type = gnome_vfs_volume_get_filesystem_type (vol);
12+
13+ if (type == NULL) {
14+ return TRUE;
15+ }
16+
17 for (i = 0; i < G_N_ELEMENTS (ignored_fs); i++) {
18 if (strcmp (ignored_fs[i], type) == 0) {
19 g_free (type);
This page took 0.032183 seconds and 4 git commands to generate.