diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-07-23 18:29:57 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-07-23 18:29:57 +0900 |
commit | 60d2bd233b1ad2a56f9107c5e664b2d28594fd1d (patch) | |
tree | 26e165377184e45c59c3309ed8e72a781b94d8f9 /src/lib | |
parent | fceb86c865d6157677955dc41199d78a64a314c6 (diff) |
evas module load add comments pointing out this is intentional ptr loss
Diffstat (limited to '')
-rw-r--r-- | src/lib/evas/file/evas_module.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c index 31bceec120..003c84c75a 100644 --- a/src/lib/evas/file/evas_module.c +++ b/src/lib/evas/file/evas_module.c | |||
@@ -593,7 +593,11 @@ evas_module_find_type(Evas_Module_Type type, const char *name) | |||
593 | eina_module_free(en); | 593 | eina_module_free(en); |
594 | continue; | 594 | continue; |
595 | } | 595 | } |
596 | 596 | // this is intentional. the above module load if it succeeds | |
597 | // registers the evas module below in the table that we then | ||
598 | // lookup in the hash... and then load that as a 2nd stage. | ||
599 | // since we will never unload a module once used it doesnt matter | ||
600 | // what happens to the handle anyway. | ||
597 | em = eina_hash_find(evas_modules[type], name); | 601 | em = eina_hash_find(evas_modules[type], name); |
598 | if (em) | 602 | if (em) |
599 | { | 603 | { |