Search:

Type: Posts; User: akm3

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    3,813

    Sharing a Memory Space between two Processes

    Dear All,
    I have a linux-based application, and a Windows C code in Visual Studio.
    The Linux based library is built under MinGW.
    I want to share a video file between these two, say processes (as...
  2. Replies
    8
    Views
    2,486

    Even this doesn't solve the issue: ...

    Even this doesn't solve the issue:



    #include <stdlib.h>
    #include <string.h>
    #include <stdio.h>

    typedef struct MyStructure{
    int argc;
  3. Replies
    8
    Views
    2,486

    this code simply takes a string like "av -i...

    this code simply takes a string like "av -i testvideo.flv out.mog" in the av_function, and parses its words, and puts in MyStructure, then prints the values of argv[i]

    Is it a memory leak at all?...
  4. Replies
    8
    Views
    2,486

    Well, Thanks for the reply. I converted the...

    Well,

    Thanks for the reply.
    I converted the big file, I am working with to a small example.
    I tried many changes on that, but I still have the memory leak problem

    Here is my simple code:

    ...
  5. Replies
    8
    Views
    2,486

    Well, I can free the memory at the end of...

    Well,

    I can free the memory at the end of "my_function()", but I don't know why the allocated memory is overwritten?

    I saw some examples of strtok(), they do not do memory allocation for the...
  6. Replies
    8
    Views
    2,486

    Any Memory Leak Here

    Dear All,

    There is a part of a C code, that gives me ,apparently, a memory leak.
    I cannot find the exact place, and make sure if anything is wrong.
    I just wanted to see if anybody can help on...
Results 1 to 6 of 6