projects
/
profile
/
ivi
/
eina.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48380a9
)
eina: check if data is not NULL before assigning FILE.
author
cedric
<cedric>
Fri, 19 Oct 2012 01:45:03 +0000
(
01:45
+0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 19 Oct 2012 01:45:03 +0000
(
01:45
+0000)
Patch by Patryk Kaczmarek <patryk.k@samsung.com>.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@78213
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eina_log.c
patch
|
blob
|
history
diff --git
a/src/lib/eina_log.c
b/src/lib/eina_log.c
index
4316eae
..
f58163f
100644
(file)
--- a/
src/lib/eina_log.c
+++ b/
src/lib/eina_log.c
@@
-1945,6
+1945,7
@@
eina_log_print_cb_file(const Eina_Log_Domain *d,
va_list args)
{
#ifdef EINA_ENABLE_LOG
+ EINA_SAFETY_ON_NULL_RETURN(data);
FILE *f = data;
#ifdef EFL_HAVE_THREADS
if (_threads_enabled)