Let ifmgmt.c take care of calling efree(), since it's the once which

took out the contract to eventually call efree() when it called fetch().

Maintain the most recently loaded image at the start of the list, so that
imgautoselect() will pick it.
This commit is contained in:
Michael Brown
2007-01-12 09:46:10 +00:00
parent 39ede8c7e8
commit e2c0055e23
3 changed files with 47 additions and 30 deletions

View File

@@ -107,8 +107,8 @@ extern struct list_head images;
extern int register_image ( struct image *image );
extern void unregister_image ( struct image *image );
extern void promote_image ( struct image *image );
struct image * find_image ( const char *name );
extern void free_image ( struct image *image );
extern int image_load ( struct image *image );
extern int image_autoload ( struct image *image );
extern int image_exec ( struct image *image );