projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
350aff7
)
let you RrDestroy NULL
author
Dana Jansens
<danakj@orodu.net>
Mon, 26 May 2003 12:50:02 +0000
(12:50 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 26 May 2003 12:50:02 +0000
(12:50 +0000)
render2/init.c
patch
|
blob
|
history
diff --git
a/render2/init.c
b/render2/init.c
index 8ed7237dc4b7a83239b3eb4e1e3dd5f7dc71b5d9..68394c3cdc93649e18dfe0c77c24b2824eae2e46 100644
(file)
--- a/
render2/init.c
+++ b/
render2/init.c
@@
-83,5
+83,7
@@
struct RrInstance *RrInit(Display *display,
void RrDestroy(struct RrInstance *inst)
{
- RrInstanceFree(inst);
+ if (inst) {
+ RrInstanceFree(inst);
+ }
}