Roy's Projects
/
dhcpcd-ui
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f56b0
)
Ensure that the notify pointer is valid.
author
Roy Marples
<roy@marples.name>
Thu, 22 Jan 2009 18:59:37 +0000
(18:59 +0000)
committer
Roy Marples
<roy@marples.name>
Thu, 22 Jan 2009 18:59:37 +0000
(18:59 +0000)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 6bd3d2f2483f9d4b9da7402a2c22febee283a1a2..dec624e9ab6b889c4f2e78bdf38c454a181742ae 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-253,7
+253,8
@@
update_online(char **buffer)
void
notify_close(void)
{
- notify_notification_close(nn, NULL);
+ if (nn != NULL)
+ notify_notification_close(nn, NULL);
}
static void