Back to index

im-sdk  12.3.91
Functions
test_memory.c File Reference
#include <stdio.h>
#include "le_info.h"
#include "le_session.h"
#include "le_desktop.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 15 of file test_memory.c.

{
    LeInfoRec *le_info;
    LeDesktopContextRec *le_desktop_context;
    LeSessionContextRec *le_session_context;

    le_info = (LeInfoRec *)le_info_new();
    le_info_print(le_info);

    le_session_context = (LeSessionContextRec *)le_session_context_new();
    le_session_context_destroy (le_session_context);

    le_desktop_context = (LeDesktopContextRec *)le_desktop_context_new();
    le_desktop_context_destroy (le_desktop_context);

    le_info_destroy(le_info);
}

Here is the call graph for this function: