forked from enlightenment/efl
parent
b88eb4b9fc
commit
ba9f6c43f6
|
@ -574,3 +574,8 @@
|
|||
2012-03-10 Cedric Bail
|
||||
|
||||
* Fix double free at end of execution of Ecore_Thread with feedback.
|
||||
|
||||
2012-03-13 Leif Middelschulte (T_UNIX)
|
||||
|
||||
* Fix ecore_x_randr_modes_info_get to not cut off the trailing '\0'
|
||||
anymore
|
||||
|
|
|
@ -42,6 +42,8 @@ Fixes:
|
|||
* ecore_thread:
|
||||
- ecore_thread_feedback_run now handle try_no_queue the way it logically should.
|
||||
- prevent double free that could cause crash when an Ecore_Thread stop.
|
||||
* ecore_x:
|
||||
- ecore_x_randr_modes_info_get does not cut off the trailing '\0' anymore.
|
||||
|
||||
Improvements:
|
||||
* ecore:
|
||||
|
|
|
@ -347,9 +347,9 @@ ecore_x_randr_modes_info_get(Ecore_X_Window root,
|
|||
ret[i]->vSyncStart = res->modes[i].vSyncStart;
|
||||
ret[i]->vSyncEnd = res->modes[i].vSyncEnd;
|
||||
ret[i]->vTotal = res->modes[i].vTotal;
|
||||
if ((ret[i]->name = (malloc(res->modes[i].nameLength))))
|
||||
if ((ret[i]->name = (malloc(res->modes[i].nameLength + 1))))
|
||||
strncpy(ret[i]->name, res->modes[i].name,
|
||||
res->modes[i].nameLength);
|
||||
(res->modes[i].nameLength + 1));
|
||||
else
|
||||
ret[i]->name = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue