getpwnam_error:
* getpwnam allocates memory for the struct and there is no way to free it.
* it seems to be a bug in the library function.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
/**
* test/demos/pmc/include/object.h
* Copyright (C) 2008 Markus Broeker
*/
#ifndef OBJECT_H
#define OBJECT_H
#include <string>
#include <iostream>
class Object {
protected:
std::string name;
public:
virtual ~ Object () {
std::cout << "Freeing Object " << name << std::endl;
}
};
#endif