summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipe-loader/pipe_loader.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2014-08-19 14:04:32 -0700
committerTom Stellard <[email protected]>2014-08-21 06:12:12 -0700
commit43d954342e02a2bd719e543d567fd6c43b3e5367 (patch)
treec87ee499b36c371d2155d6e8bf71a2ff9cdf4fd0 /src/gallium/auxiliary/pipe-loader/pipe_loader.h
parent8109664dedee588dc98c9a7c25bd40c0eb56c35f (diff)
pipe-loader: Fix memory leak v2
v2: - Change driver_name to char* Reviewed-by: Emil Velikov <[email protected]> CC: "10.2" <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader/pipe_loader.h')
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.h b/src/gallium/auxiliary/pipe-loader/pipe_loader.h
index 8ff00b1e1e1..6127a6ac3c0 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader.h
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.h
@@ -67,7 +67,7 @@ struct pipe_loader_device {
} pci;
} u; /**< Discriminated by \a type */
- const char *driver_name;
+ char *driver_name;
const struct pipe_loader_ops *ops;
};