summaryrefslogtreecommitdiff
path: root/xf86drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xf86drm.c b/xf86drm.c
index cbae3e28..18ad7c58 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -3629,14 +3629,14 @@ static int drmParseOFDeviceInfo(int maj, int min, char ***compatible)
free(value);
}
- *compatible[i] = tmp_name;
+ (*compatible)[i] = tmp_name;
}
return 0;
free:
while (i--)
- free(*compatible[i]);
+ free((*compatible)[i]);
free(*compatible);
return err;